Michael
89198b0512
Fix flakey tibber tests ( #121993 )
2024-07-16 22:36:31 +02:00
Joakim Plate
8d290dd9d6
Convert arcam_fmj to runtime data ( #122047 )
2024-07-16 22:35:04 +02:00
Erik Montnemery
9970b7eece
Refactor recorder data migration ( #121009 )
...
* Refactor recorder data migration
* Fix stale docstrings
* Don't store a session object in BaseRunTimeMigration instances
* Simplify logic in EntityIDMigration.migration_done
* Fix tests
2024-07-16 21:50:19 +02:00
Arie Catsman
baa97ca981
Add fixture files to Enphase_Envoy tests ( #121864 )
...
* Add fixture files to Enphase_Envoy tests
* optimize fixtures in enphase_envoy conftest
* combine setup_enphase_envoy and mock_envoy in enphase_envoy tests
* Revert "combine setup_enphase_envoy and mock_envoy in enphase_envoy tests"
This reverts commit ec072c4726
.
* Rework enphase tests
* Rework enphase tests
* reset diagnostics test snapshot
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-07-16 21:14:46 +02:00
Erik Montnemery
d8440e809a
Avoid mutating database schema definitions during schema migration ( #122012 )
...
* Avoid mutating database schema definitions during schema migration
* Adjust test when using mysql
* Address review comment
2024-07-16 20:27:49 +02:00
Robert Svensson
aeabe3ab95
Mark UniFi power cycle button as unavailable if PoE is not enabled on port ( #122035 )
2024-07-16 20:16:36 +02:00
Joost Lekkerkerker
f8ba4d41ba
Add support for adding model_id in device info ( #121989 )
2024-07-16 15:12:25 +02:00
Erik Montnemery
336740dbfa
Add recorder migration test starting with schema version 9 ( #122011 )
2024-07-16 15:12:23 +02:00
Erik Montnemery
ea29c2c4d4
Improve tests/patch_time.py ( #122017 )
2024-07-16 14:22:22 +02:00
Glenn Waters
6645932fb7
Fix for Environment Canada date being wrong after midnight ( #121850 )
...
* Use async_connect in newly bumped 0.5.8 UPB library.
* Fix tests.
* Fix date being wrong after midnight for Environment Canada
* Fix typing.
* Add test.
* Formatting.
* Remove tests until can be added properly.
* Add weather tests back.
* Fix tests
* Change of tactic for determining previous day's data.
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-07-16 11:57:37 +02:00
Björn Ebbinghaus
2723ab3b27
Add mac address as connection for matter device ( #121257 )
2024-07-16 00:54:16 +02:00
Maciej Bieniek
260e98c3f7
Add support for Shelly `number` virtual component ( #121894 )
...
* Support number component in field mode
* Support number in label mode
* Add tests
* Add mode_fn
* Add support for number component in slider mode
* Add comment
* Suggested change
* Revert max_fn
* Change unit 'min' to 'Hz' in test
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-15 22:26:12 +02:00
Franck Nijhof
a9bf12f102
Rename Services to Actions in translation strings ( #121777 )
2024-07-15 21:19:25 +02:00
Álvaro Fernández Rojas
e9d4c03300
Update aioairzone to v0.8.0 ( #121991 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-07-15 20:49:21 +02:00
Richard Kroegel
99f01ac61e
Fix BMW remaining fuel device class ( #119172 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-07-15 09:23:05 +02:00
Maciej Bieniek
50751574b4
Fix `configuration_url` for Shelly device using IPv6 ( #121939 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-15 08:31:44 +02:00
Kevin Stillhammer
ab945ee76e
Add Broadlink select platform ( #121797 )
...
* Add broadlink select platform
* Apply strings.json feedback
* Remove obsolete Service Exception
* Use day names instead of IDs
* Use list()
2024-07-14 23:59:24 +02:00
J. Nick Koston
6d8f99903d
Migrate lutron_caseta to use entry.runtime_data ( #121903 )
...
* Migrate lutron_caseta to use entry.runtime_data
* Migrate lutron_caseta to use entry.runtime_data
2024-07-14 23:26:12 +02:00
J. Nick Koston
73f6e3c07b
Narrow sqlite database corruption check to ensure disk image is malformed ( #121947 )
...
* Narrow sqlite database corruption check to ensure disk image is malformed
The database corruption check would also replace the database when it
locked externally instead of only when its malformed.
This was discovered in https://github.com/home-assistant/core/issues/121909#issuecomment-2227409124
when a user did a manual index creation while HA was online
* tweak
* tweak
* fix
* fix
2024-07-14 23:23:07 +02:00
J. Nick Koston
19d2d023ab
Ensure states table rebuild still happens if the event_id index was removed ( #121938 )
...
* Ensure states table rebuild still happens if the event_id index was removed
If ix_states_event_id was removed by the foreign key still
exists, the states table would not get rebuilt. This should
not happen under normal circumstances and seems to only be
possible if the index was removed manually or Home
Assistant was restarted forcefully in the middle
of a previous migration from years ago.
* cover
* fix tests
* mysql wont allow at that point but thats ok as long as its gone at the end
2024-07-14 23:20:52 +02:00
David F. Mulcahey
342e6a503a
Fix group operations in ZHA websocket API ( #121881 )
2024-07-14 03:25:15 +02:00
Álvaro Fernández Rojas
c044417837
Dynamically add Airzone entities ( #121891 )
...
* airzone: reload entry on new devices
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Revert "airzone: reload entry on new devices"
This reverts commit 3ecc0844e4
.
* airzone: sensor: dynamically add new entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: restore reverted airzone tests
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: sensor: code fixes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: water_heater: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: binary_sensor: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: climate: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: airzone: use freezer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: call async_add_entities once
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: wrap async_add_listener on async_on_unload
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: reduce number of entity listeners
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-07-13 21:45:08 +02:00
Jan Bouwhuis
3111951757
Fix alexa does to check `current_position` correctly when handling cover range changes ( #121798 )
2024-07-13 16:10:09 +02:00
Maciej Bieniek
a34858a567
Use parametrize in tests for Shelly `boolean` virtual component ( #121895 )
...
Use parametrize in tests
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-13 15:27:17 +03:00
Shai Ungar
2dec7136c8
Address post merge review on israel rail ( #121872 )
...
* Address late israel rail review
* transfers => trains
2024-07-13 10:54:27 +02:00
Avi Miller
5f33e85b30
Initial support for LIFX Ceiling SKY effect ( #121820 )
2024-07-12 21:16:16 -05:00
dougiteixeira
162b734be7
Add config flow for select platform in Template ( #121809 )
2024-07-12 17:50:02 +02:00
Allen Porter
a2fab98358
Remove an unneeded test dependency on pydantic in matrix ( #121860 )
2024-07-12 17:45:04 +02:00
Klaas Schoute
0d27cdc845
Add inverters to Autarco integration ( #121779 )
2024-07-12 16:54:22 +02:00
J. Nick Koston
a8321fac95
Add reauth support to doorbird ( #121815 )
2024-07-12 16:53:39 +02:00
Franck Nijhof
726fcb485d
Extend search with support for integrations ( #121765 )
2024-07-12 16:31:49 +02:00
J. Nick Koston
2e71c8d43b
Fix homekit linked doorbell and motion firing on reload ( #121818 )
2024-07-12 16:29:55 +02:00
J. Nick Koston
a67b6c5ba6
Avoid recording additional light attributes ( #121776 )
2024-07-12 16:27:50 +02:00
G Johansson
df85067cae
Add device link to History stats helper ( #121848 )
2024-07-12 16:01:50 +02:00
Joakim Plate
a0d0e0f4a9
Correct deprecated telegram usage in dsmr ( #121847 )
2024-07-12 16:00:27 +02:00
Joost Lekkerkerker
12384104f4
Fix Mealie mealplan service date parsing ( #121844 )
2024-07-12 15:21:48 +02:00
Maciej Bieniek
3ef1e5816e
Add support for Shelly `text` virtual component ( #121735 )
...
* Add support for text component
* Add tests
* Improve const names
* Remove unnecessary code
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-12 12:58:21 +02:00
starkillerOG
97aaae1372
Reolink media second lens ( #121800 )
...
DUO lens camera distinguish between lenses for media playback
2024-07-12 09:13:55 +02:00
Glenn Waters
c84fe04d6b
Use async_connect in newly bumped 0.5.8 UPB library ( #121789 )
2024-07-11 16:14:22 -05:00
Joost Lekkerkerker
3be95ebc87
Add verify SSL option to Mealie ( #121767 )
2024-07-11 17:23:26 +02:00
Steven B
2148cfc899
Fix tplink bug changing color temp on bulbs with light effects ( #121696 )
2024-07-11 10:10:47 -05:00
J. Nick Koston
ab7c4244d2
Pre-configure default doorbird events ( #121692 )
2024-07-11 11:31:29 +02:00
Tsvi Mostovicz
f40897b54c
Add Jewish Calendar reconfiguration test ( #118833 )
...
* Revert "Remove flaky tests"
This reverts commit c4de9fdcbe
.
* Change reconfigure test to be based on data
* Don't assert using internals
* Fix assertions to be on config entry
2024-07-11 11:17:12 +02:00
Joost Lekkerkerker
73475aa675
Dynamically create and delete todo lists in mealie ( #121710 )
2024-07-11 10:19:45 +02:00
dougiteixeira
52454f5218
Add config flow for platform switch in Template ( #121639 )
2024-07-11 10:11:31 +02:00
Franck Nijhof
f94b28f72d
Add button group support ( #121715 )
...
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-07-11 09:37:32 +02:00
Jan Bouwhuis
acb4a92628
Revert "Add mqtt automation publish test with template rendering" ( #121757 )
2024-07-11 09:36:14 +02:00
Brett Adams
f8015a7abc
Add test coverage for Tessie seat coolers ( #121742 )
2024-07-11 09:13:50 +02:00
Joost Lekkerkerker
4c972694cd
Add reconfigure flow to Mealie ( #121750 )
2024-07-11 09:11:59 +02:00
J. Nick Koston
43596f22a4
Fix recorder max backlog calculation being too small ( #121739 )
2024-07-11 09:09:35 +02:00
Luca Angemi
c89de2e6a6
Append multiple rows in Google Sheets ( #120829 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-07-11 09:05:22 +02:00
Brett Adams
307ae53066
Add sunroof to Tessie ( #121743 )
2024-07-11 09:03:46 +02:00
Shai Ungar
56b6747bc0
Add Israel rail integration ( #121418 )
...
* Add Israel Rail integration
* israel_rail tests
* israel_rail tests
* 1. use entry.runtime
2. DataConnection - data class
3. remove unique id from coordinator
4. use EntityDescription
* add a list of stations in user form
* 1. extend ConfigEntry
2. remove unused pop
3. use IsraelRailSensorEntityDescription to have only one kind of Sensor
4. add test for already configured
5. use snapshot in test
* change user step description
* 1. ConfigEntry[IsraelRailDataUpdateCoordinator]
2. remove redundant attributes
3. use snapshot_platform helper
* remove attr
* remove attr
* move test to test_init.py
* Fix
* Fix
* Fix
* Fix
* fix timezone
* fix
* fix
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-11 08:45:32 +02:00
Kevin Stillhammer
ea5eb0f8f2
Add Broadlink time platform ( #121470 )
...
* Add time platform
* Apply PR feedback
* Remove obsolete Exception raise
2024-07-11 08:18:10 +02:00
Klaas Schoute
bb81cfa57a
Add diagnostics to Autarco integration ( #121732 )
2024-07-11 06:49:38 +02:00
Joost Lekkerkerker
385576bfb2
Add reauth flow to Mealie ( #121697 )
2024-07-11 00:24:48 +02:00
Michael Hansen
417abda649
Add HassGetCurrentDate and HassGetCurrentTime intents ( #121707 )
2024-07-11 00:17:04 +02:00
Joost Lekkerkerker
0462582da3
Use new constants in todo tests ( #121727 )
2024-07-11 00:01:17 +02:00
Robert Svensson
61111f5d71
Fix bad access to UniFi runtime_data when not assigned ( #121725 )
...
* Fix bad access to runtime_data when not assigned
* Fix review comment
* Clean up if statements
2024-07-10 23:53:11 +02:00
Maciej Bieniek
70f05e5f13
Add support for Shelly virtual `boolean` component ( #119932 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-10 23:51:51 +02:00
Dave T
311b1e236a
Don't patch libraries that aren't installed in pytest ( #121628 )
2024-07-10 23:50:47 +02:00
dougiteixeira
e0c7073da1
Add config flow for image platform in Template ( #121648 )
2024-07-10 23:49:24 +02:00
Klaas Schoute
664c4e6189
Fix small issue on Autarco integration ( #121723 )
2024-07-10 23:37:32 +02:00
Mr. Bubbles
f3fe61f929
Bump pyloadapi to v1.3.2 ( #121709 )
2024-07-10 23:08:25 +02:00
Klaas Schoute
fce68018b7
Add Autarco integration ( #121600 )
...
* Init Autarco integration
* Add integration code with tests
* Update every 5 minutes
* Process all feedback from Joost
* Bump lib to v2.0.0
* Add more then one site if present
* Fix issue with entity translation
* Update the test for sensor entities
* Fix round two based on feedback from Joost
* Add autarco to strict typing
* Update tests/components/autarco/test_config_flow.py
* Update tests/components/autarco/test_config_flow.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-10 23:05:31 +02:00
Noah Husby
abeac3f3aa
Add config flow to Russound RIO integration ( #121262 )
...
* Add config flow to Russound RIO
* Ensure Russound RIO connection is handled at entry setup
* Add tests for Russound RIO config flow
* Add yaml configuration import to Russound RIO
* Use runtime_data to store Russound RIO client
* Seperate common import and user config logic for Russound RIO
* Update config flow to use aiorussound
* Add MAC address as unique ID for Russound RIO
* Fix pre-commit for Russound RIO
* Refactor config flow error handling for Russound RIO
* Add config flow import abort message for no primary controller
* Add common strings to Russound RIO
* Use reference strings for Russound RIO issue strings
* Remove commented out test fixture from Russound RIO
* Clean up test fixtures for Russound RIO
* Remove model from entry data in Russound RIO
* Clean up Russound client mock
* Clean up Russound test fixtures
* Remove init tests and clean up Russound config flow cases
2024-07-10 23:02:33 +02:00
Joost Lekkerkerker
924e767736
Bump knocki to 0.3.0 ( #121704 )
2024-07-10 21:53:11 +02:00
Andrew Jackson
a9c9963f0f
Mealie min version check ( #121677 )
2024-07-10 21:25:49 +02:00
Jan Bouwhuis
71e5ffb2bd
Add mqtt automation publish test with template rendering ( #121695 )
2024-07-10 21:17:27 +02:00
Joost Lekkerkerker
1e0c03257c
Add diagnostics to Mealie ( #121700 )
2024-07-10 21:09:03 +02:00
Richard Kroegel
865190f0b0
Get suggested_unit_of_measurement via unit converter's UNIT_CLASS ( #119196 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-07-10 17:45:07 +02:00
J. Nick Koston
0e0a339517
Convert doorbird to use asyncio ( #121569 )
2024-07-10 17:34:12 +02:00
puddly
020961d2d8
Fix ZHA select platform state restoration ( #121646 )
...
* Ensure `select` entities do not restore state if they were unavailable
* Add a unit test
2024-07-10 10:55:27 -04:00
J. Nick Koston
c81d5a1ac2
Handle empty entity_id in the recorder filter ( #121681 )
...
fixes #111745
2024-07-10 09:53:38 -05:00
epenet
b0837dd98f
Use service_calls fixture in zha tests ( #120996 )
2024-07-10 15:06:49 +02:00
Joost Lekkerkerker
43806553fc
Add service to import recipe to mealie ( #121598 )
2024-07-10 14:33:17 +02:00
Jeef
0213f1c5c0
Add SimpleFIN integration ( #108336 )
...
* reset to latest dev branch
* Update homeassistant/components/simplefin/sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* formatting tweak
* Removed info errors
* fix bad billing error message
* addressing PR
* addressing PR
* reauth abort and already_confiugred added to strings.json
* adding the reauth message
* ruff
* update reqs
* reset to latest dev branch
* Update homeassistant/components/simplefin/sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* formatting tweak
* Removed info errors
* fix bad billing error message
* addressing PR
* addressing PR
* reauth abort and already_confiugred added to strings.json
* adding the reauth message
* ruff
* update reqs
* Update homeassistant/components/simplefin/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Addressing a few PR comments - removing nix - and adding runtime data
* updated comments
* rename config flow
* pulling reauth :( - inline stuff
* inline more
* fixed a tab issue
* reverting changes
* various PR updates and code removal
* generator async add
* Update homeassistant/components/simplefin/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/simplefin/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/simplefin/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/simplefin/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/simplefin/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* always callable
* Update homeassistant/components/simplefin/coordinator.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* no-verify
* type
* fixing missing domain
* it looks like this file is gone now
* typing
* sorta pass
* fix license
* Update homeassistant/components/simplefin/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/simplefin/entity.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* addressing PR
* Update homeassistant/components/simplefin/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* move property to entity.py
* moved stuff out to else block
* Initial Snappshot Testing ... still have unadressed changes to make
* Addressing PR Comments
* pushing back to joost
* removing non-needed file
* added more asserts
* reducing mocks - need to fix patch paths still
* Changed patch to be more localized to config_flow
* Removed unneeded fixture
* Moved coordinator around
* Cleaning up the code
* Removed a NOQA"
* Upping the number of asserts
* cleanup
* fixed abort call
* incremental update - for Josot... changed a function signature and removed an annotatoin
* no-verify
* Added an abort test
* ruff
* increased coverage but it might not pass muster for JOOST
* increased coverage but it might not pass muster for JOOST
* Much nicer test now
* tried to simplify
* Fix nits
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-10 12:44:04 +02:00
tronikos
1925614a14
Handle errors in Fully Kiosk camera ( #121659 )
2024-07-10 11:21:38 +02:00
Marcel van der Veldt
42003ae5ac
Matter lock state follow-up ( #121669 )
2024-07-10 11:20:26 +02:00
epenet
86f7718c1f
Adjust type hints for unnecessary returns in tests ( #121657 )
2024-07-10 09:30:50 +02:00
epenet
5d809f88ba
Improve type hints in calendar tests ( #121654 )
2024-07-10 09:12:56 +02:00
epenet
7a337ecd1d
Cleanup unnecessary definition in lamarzocco tests ( #121655 )
2024-07-10 09:08:39 +02:00
David F. Mulcahey
0aa6a17da8
Prevent entity creation errors from causing all entities for a platform from loading in ZHA ( #121631 )
2024-07-10 08:31:24 +02:00
CrazyMan2000
9120115577
Split media player select input test ( #121633 )
2024-07-09 23:28:41 +02:00
Jan Bouwhuis
805d4fcc40
Do not use `curr` as abbreviation in alexa tests and remove conditions ( #121627 )
2024-07-09 22:58:22 +02:00
dougiteixeira
d783813ba0
Add config flow for platform button in Template ( #120886 )
2024-07-09 21:20:18 +02:00
jan iversen
5e56c27703
Modbus, Remove duplicate address check ( #121579 )
2024-07-09 21:16:47 +02:00
epenet
bff663b3c1
Improve type hints in recorder result_processor ( #121593 )
2024-07-09 21:12:03 +02:00
epenet
a4980cf0fd
Improve type hints in zwave_js tests ( #121594 )
2024-07-09 20:13:47 +02:00
ilan
31dc80c616
Add binary sensor to madVR integration ( #121465 )
...
* feat: add binary sensor and tests
* fix: update test
* fix: use entity description
* feat: use translation key
* feat: implement base entity
* fix: change device classes
* fix: remove some types
* fix: coordinator.data none on init
* fix: names, tests
* feat: parameterize tests
2024-07-09 19:11:08 +02:00
Andrew Jackson
898803abe9
Add shopping lists to Mealie integration ( #121534 )
...
* Add mealie shopping lists & tests
* Add shopping_lists init failure
* Fix coordinator name
* Fixes
* Add available, fix merge
* Fixes
* Fixes
* Add todo failure tests
* Fix tests
2024-07-09 18:39:22 +02:00
Jan Bouwhuis
5b25c24539
Remove stale `template_topic` code for mqtt publish service ( #121604 )
2024-07-09 18:22:08 +02:00
CrazyMan2000
e44f00cf7c
Add alexa remote support ( #120878 )
...
* Updated the AlexaModeController to support the remote domain. Also added an alexa entitiy adapter for the remote domain.
* Fixed copy paste mistake.
* Fixed power state for remove domain.
* Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config.
* Add the alexa display category 'REMOTE' and use it for the remote capability.
* Revert "Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config."
This reverts commit fbdf37904a
.
* Fix error when the remote does not have an activtiy list.
* Add tests for the state report of a remote entity.
* Add a test for alexas set mode directive for a remote entitiy.
* Add a test for alexas TurnOn and TurnOff directives for a remote entity.
* Apply suggestions from code review
Fix copy paste mistakes.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Improve attribute name as suggested.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Add test case with zero and one activity.
* Add a comment why we use the mode controller instead of the input controller.
* Add test to check of the discovery returns all required interfaces for a remote entitiy.
* Tweak comment
* Add line breaks to fix max allowed chars per line.
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-07-09 18:03:47 +02:00
Paulus Schoutsen
154da1b18b
Allow targeting conversation agent as pipeline ( #119556 )
...
* Allow targetting conversation agent as pipeline
* Test that we can use a conversation entity as an assist pipeline
* Add test for WS get
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2024-07-09 10:56:53 -05:00
Paulus Schoutsen
01861cd240
Ensure we prepare conversation pipeline when speech-to-text starts ( #114665 )
...
* Ensure we prepare conversation pipeline when speech-to-text starts
* Add lock around recognize
* Update homeassistant/components/conversation/default_agent.py
* Add lock around load intents
2024-07-09 09:58:52 -05:00
Michael Hansen
4498bf9ec4
Remove language lock from default agent and move around tests ( #121531 )
...
* Remove language lock
* Remove unsub for change events
* Remove redundant check
* Simplify intent loading
* Cache intent loading error
* Revert "Remove unsub for change events"
This reverts commit 575266abcd
.
* guard instead of assert
* Some more cleanup
* No need to warn during prepare
* Some more cleanup
* Add more timing logs
* Split up tests and rely less on http
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-07-09 16:05:43 +02:00
Joost Lekkerkerker
a1fae0e0ce
Fix missing validation and service definition in Mealie ( #121578 )
2024-07-09 11:55:12 +02:00
Brett Adams
48d9df74ed
Add sunroof to Teslemetry ( #121476 )
2024-07-09 08:36:34 +02:00
Robert Contreras
3ea694a069
Home Connect unit tests for light platform ( #121576 )
2024-07-09 08:31:41 +02:00
Markus Jacobsen
45843a3112
Add Bang & Olufsen media_player testing ( #120580 )
2024-07-08 22:19:02 +02:00
puddly
b754f03c11
ZHA as an external library ( #120190 )
...
Co-authored-by: David Mulcahey <david.mulcahey@icloud.com>
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2024-07-08 20:18:30 +02:00
Joost Lekkerkerker
5f088e0501
Add Mealie service to get recipe ( #121462 )
2024-07-08 17:11:35 +02:00
epenet
98651cbd2e
Improve type hints in lovelace tests ( #121520 )
2024-07-08 14:04:11 +02:00
epenet
19e272a901
Improve type hints in iotawatt tests ( #121505 )
2024-07-08 13:31:05 +02:00
epenet
10ee554f1f
Improve type hints in logi_circle tests ( #121518 )
2024-07-08 13:30:29 +02:00
epenet
f7825eb5b1
Improve type hints in lyric tests ( #121517 )
2024-07-08 13:30:01 +02:00
Kevin Stillhammer
8ab6a505a4
Write data to state after Broadlink entity added ( #121493 )
...
* Write data to ha after entity added
* Properly mock api return values
Some values like _attr_is_on were mapped to MagicMocks which led to them evaluating to True. Actually calling the update state method when adding the entities made that improper mocking come to the surface.
* Call _update_state instead of _recv_data
2024-07-08 13:15:17 +02:00
epenet
242b28377d
Improve type hints in kodi tests ( #121508 )
2024-07-08 12:57:52 +02:00
epenet
b048ad8afe
Improve type hints in iqvia tests ( #121506 )
2024-07-08 12:57:19 +02:00
epenet
148803460b
Improve type hints in kitchen_sink tests ( #121509 )
2024-07-08 12:54:43 +02:00
epenet
c4c623ea99
Improve type hints in kulersky tests ( #121510 )
2024-07-08 12:54:18 +02:00
epenet
4d68ae1199
Improve type hints in ipma tests ( #121501 )
2024-07-08 11:38:27 +02:00
epenet
3059bf0536
Improve type hints in insteon tests ( #121504 )
2024-07-08 11:34:50 +02:00
Paulus Schoutsen
1aa9588dcb
Include hass device ID in mobile app get_config webhook ( #121496 )
2024-07-08 11:00:21 +02:00
J. Nick Koston
27a2114ba9
Bump yalexs to 6.4.2 ( #121467 )
2024-07-07 13:41:31 -07:00
Jan Bouwhuis
8a28cbe9e2
Wait for conversation test init ( #121464 )
...
* Wait for conversation test init
* typo
2024-07-07 22:24:20 +02:00
Michael
0558e480ce
Add event entity to Feedreader ( #118147 )
2024-07-07 21:44:41 +02:00
Joost Lekkerkerker
f126360c67
Add Mealie service to get mealplan ( #120824 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-07 21:19:20 +02:00
G Johansson
833ac4db49
Add config flow to history_stats helper ( #121381 )
2024-07-07 21:06:37 +02:00
David Knowles
72458d143d
Add valve support to Hydrawise ( #116302 )
2024-07-07 20:42:45 +02:00
ilan
12228d8a00
Add madvr envy integration ( #120382 )
...
* feat: Add madvr envy
* fix: await and pass entry directly
* fix: add attributes and unique id for sensors
* fix: reflect power state well, improve state detection
* fix: don't connect on init, add options, add reload on change, keep on during test
* fix: cancel tasks on unload
* fix: test connection via library
* fix: wait for boot time
* docs: add readme and license
* fix: broken pipe in lib
* fix: detect out of band power off
* fix: improve extra attributes
* fix: fix unloading, add config flow test, limit to one platform
* fix: use conf, refresh coordinator, other comments
* fix: remove event data
* fix: fix tests passing, remove wake on lan
* fix: dont allow to proceed unless connection works
* chore: update dep
* fix: update config flow, add constants
* fix: write state, use runtime data instead
* fix: remove await
* fix: move unloading and stuff to coordinator/init
* fix: pass in config entry with correct type
* fix: move queue and tasks to library
* fix: config flow error flow, tests, name, and update lib
* fix: update lib, leave connection open on setup
* fix: update lib
* fix: address comments, remove wol from lib
* fix: remove unneeded options
* fix: remove fields
* fix: simplify code, address comments
* fix: move error to lib
* fix: fix test
* fix: stronger types
* fix: update lib
* fix: missing text from options flow
* chore: remove options flow
* chore: remove import
* chore: update comments
* fix: get mac from device, persist
* fix: add mac stuff to test
* fix: startup import errors
* chore: stale comment
* fix: get mac from persisted config
* chore: update lib
* fix: persist mac in a better way
* feat: use mac as unique ID for entry
* fix: use unique ID from mac, add proper device
* fix: will not be set in init potentially
* fix: access mac
* fix: optimize, move error to lib
* feat: add coordinator test, use conf
* fix: use one mock, add init test
* fix: not async
* feat: add remote test
* fix: types
* fix: patch client, expand remote tests
* fix: use snapshot test
* fix: update branding
* fix: add description, fix type check
* fix: update tests
* fix: test
* fix: update test
* fix: camelcase
* Fix
* feat: strict typing
* fix: strict typing in lib
* fix: type will never be None
* fix: reference to mac, all tests passing
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-07-07 20:41:53 +02:00
Elliott Balsley
cd72bdd851
Add Prometheus fan_mode and climate_mode metrics ( #120267 )
...
Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com>
2024-07-07 19:39:54 +02:00
G Johansson
26bc37195e
Add defrosting as HVACAction in ClimateEntity ( #121448 )
2024-07-07 18:54:40 +02:00
Robert Contreras
2def33b168
Home Connect unit tests for switch platform ( #115456 )
2024-07-07 18:30:59 +02:00
Mr. Bubbles
751935539a
Migrate Habitica Dailies and To-Do's to the todo platform ( #116655 )
...
* Add todo platform
* update for DataUpdateCoordinator
* set lastCron as dailies due date
* parse alternative duedate format
* fix tests
* send notification on item drop
* fix drop message
* update exception messages
* Simplified the update of user_fields by using set union
* move userFields to const
* Issue deprecation only if entity is acutally used
* Resolve issues
* user entity registry to get entity_id
* raise ServiceValidationError
* requested changes
* Move next_due_date helper function to util.py module
* some changes
* Move function to util.py
2024-07-07 17:50:27 +02:00
Joost Lekkerkerker
1fefd396b9
Add mealie version to device info ( #121443 )
2024-07-07 17:13:15 +02:00
Clifford Roche
27975c7517
Fix incorrect temperature in Gree if temp units changed on device ( #121041 )
2024-07-07 17:05:14 +02:00
Shai Ungar
b6609fa77c
Deprecate the dynamic package sensors in seventeentrack ( #116102 )
...
* Add deprecation comments for the dynamic package sensors
* Add deprecation comments for the dynamic package sensors
* Add deprecation comments for the dynamic package sensors
add more information when retrieving packages from service call
* Add deprecation comments for the dynamic package sensors
update deprecation comment
* 1. 17Track repair flow
2. update deprecation comment
* 1. remove description_placeholders
2. 2024.8 deprecated
* Update homeassistant/components/seventeentrack/repairs.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* 1. extract deprecated to constant
2. fix types
3. check for issue_id
4. add listener only when not deprecated
5. update which service to call
* Update homeassistant/components/seventeentrack/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/repairs.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* 1. move deprecate_sensor_issue to where needed
2. add entry_id to issue_id
3. use constant where needed
* update breaks in ha version
* Update homeassistant/components/seventeentrack/strings.json
* Remove obsolete tests
* Fix
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-07 16:55:38 +02:00
Zack Cerza
6937aed9fe
Handle more pushover exceptions during setup ( #115802 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-07-07 16:36:16 +02:00
kingy444
9b4e64ab62
Bump pydaikin to 2.13.1 ( #118679 )
...
Co-authored-by: Fredrik Erlandsson <fredrik.e@gmail.com>
2024-07-07 16:34:05 +02:00
Elliott Balsley
275a7499b1
Add prometheus fan handler ( #119805 )
...
Co-authored-by: Anton Tolchanov <1687799+knyar@users.noreply.github.com>
2024-07-07 16:32:15 +02:00
Sid
e2141dc208
Add `_attr` class attributes to TextToSpeechEntity ( #115684 )
2024-07-07 16:21:04 +02:00
J. Nick Koston
dc5ae9e0b2
Add event platform to august ( #121392 )
2024-07-07 15:39:58 +02:00
Michael
846528131e
Allow current empty feeds to be configured in Feedreader ( #121421 )
2024-07-07 15:11:28 +02:00
Joost Lekkerkerker
d95b28bdee
Sort mealie mealplans ( #121433 )
2024-07-07 15:01:58 +02:00
G Johansson
6e8cfb3376
Fix timezone issue in smhi weather ( #121389 )
2024-07-06 21:18:02 +02:00
G Johansson
ac8ea8356c
Fix unnecessary logging of turn on/off feature flags in Climate ( #121387 )
2024-07-06 19:32:27 +02:00
G Johansson
98370fd9a0
Bump psutil to 6.0.0 ( #121385 )
2024-07-06 19:09:00 +02:00
Barry vd. Heuvel
d113ea8e47
Convert Hue scenes brightness to 0..255 ( #105871 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-06 19:04:52 +02:00
atlflyer
ec536bda3d
Add json_attributes_path configuration for command_line sensor ( #116656 )
...
Add json attributes path config to command line sensor
2024-07-06 18:52:27 +02:00
Alberto Geniola
490dd53edf
Improve Elmax alarm control panel ( #117689 )
2024-07-06 18:21:15 +02:00
Richard Kroegel
131d9ec51b
Add BMW tire pressure sensors ( #120949 )
2024-07-06 18:20:01 +02:00
Richard Kroegel
48145c1a7d
Refactor BMW sensors and migrate unique_ids ( #121380 )
2024-07-06 17:34:20 +02:00
Joost Lekkerkerker
3c14aa12ab
Add repair issue when trying to set up unknown integration ( #121089 )
...
* Add repair issue when trying to set up unknown integration
* Add repair issue when trying to set up unknown integration
* Add repair issue when trying to set up unknown integration
* Fix
* Update homeassistant/components/homeassistant/strings.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Update homeassistant/components/homeassistant/strings.json
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Update homeassistant/setup.py
* Fix
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-07-06 15:02:58 +02:00
Christophe Gagnier
df9ced9768
Implement TechnoVE diagnostic ( #121278 )
2024-07-06 13:46:19 +02:00
Brett Adams
f46c127423
Add energy switch entities to Tessie ( #121360 )
2024-07-06 12:45:27 +02:00
Brett Adams
e04d612874
Add energy number entities for Tessie ( #121354 )
2024-07-06 12:29:18 +02:00
Xidorn Quan
2bc7904b51
Add demand window sensor for amberelectric ( #121356 )
2024-07-06 12:28:52 +02:00
Brett Adams
8f7c3da456
Add energy select entities to Tessie ( #120641 )
2024-07-06 11:49:53 +02:00
Alan
8ff4991f07
LLM to handle int attributes ( #121037 )
2024-07-06 11:41:18 +02:00
Luke Lashley
43481ffeac
Add support for Roborock Zeo ( #121334 )
2024-07-06 11:24:32 +02:00
Brett Adams
696ae91c35
Add energy binary sensors to Tessie ( #121349 )
2024-07-06 11:05:52 +02:00
Richard Kroegel
f29094f41d
Refactor BMW send_message and add tests ( #119170 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-07-06 11:00:00 +02:00
Brett Adams
294c31f6f5
Fix initial Wall Connector values in Tessie ( #121353 )
2024-07-06 10:54:09 +02:00
Robert Svensson
cce77affc7
Provide default values for common keys in deCONZ websocket fixture ( #121359 )
2024-07-06 10:52:50 +02:00
Dave T
a358609609
Improve user message if stream is not set up in generic camera ( #121308 )
2024-07-06 10:50:16 +02:00
Brett Adams
18370bdbb4
Add diagnostics to Tessie ( #121348 )
...
* Add diag
* Add snapshot
* Redact serial number
2024-07-06 09:00:03 +02:00
Robert Svensson
1b8944dab6
Improve deCONZ websocket fixture ( #121332 )
2024-07-05 22:35:06 +02:00
Devin
9d204613e8
Expose Twitch "Started At" attribute ( #121265 )
2024-07-05 22:33:04 +02:00
Joost Lekkerkerker
1561324274
Fix Netatmo snapshot ( #121333 )
2024-07-05 22:02:43 +02:00
J. Nick Koston
89ffee9ad5
Update ulid-transform to 0.10.1 ( #121321 )
2024-07-05 14:07:39 -05:00
Robert Svensson
94db251aea
Finally remove all legacy test stubs from deCONZ tests ( #121323 )
2024-07-05 20:47:43 +02:00
Robert Svensson
178655647d
Use fixtures in deCONZ init tests ( #121217 )
2024-07-05 19:17:47 +02:00
Robert Svensson
a773d0c8f6
Use fixtures on deCONZ event tests ( #121303 )
2024-07-05 19:11:21 +02:00
Erik Montnemery
6eeb70151d
Use BIGINT SQL type for ID columns ( #121025 )
2024-07-05 10:42:39 -05:00
Robert Svensson
8c459959ee
Use fixtures in deCONZ gateway tests ( #121305 )
2024-07-05 16:59:10 +02:00
epenet
4b4b17e774
Improve hass type hints for autouse fixtures in tests ( #121311 )
2024-07-05 15:49:22 +01:00
epenet
9383920b1a
Improve type hints in hdmi_cec tests ( #121302 )
2024-07-05 16:42:55 +02:00
Luke Lashley
ffc39585ed
Add ability to select current map for Roborock ( #120882 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-05 09:38:26 -05:00
epenet
45ab9cae1a
Improve type hints for silent_ssdp_scanner in tests ( #121309 )
2024-07-05 16:32:10 +02:00
Mariusz Kubisz
bf8cef3337
Add support for min mode in Netatmo public sensor ( #118613 )
2024-07-05 16:25:05 +02:00
Richard Kroegel
324755b8f5
Separate BMW base entity into separate file ( #120830 )
...
* Refactor BMW base entity
* Update snapshots
* Changes from review
2024-07-05 16:08:27 +02:00
dougiteixeira
4289efb506
Device change test improvements in Template ( #120884 )
2024-07-05 14:47:31 +02:00
epenet
b9cfd4e8ce
Improve type hints in hue tests ( #121298 )
2024-07-05 14:40:23 +02:00
epenet
7332bc5faf
Improve type hints in http tests ( #121294 )
2024-07-05 14:37:00 +02:00
epenet
288c297c9c
Improve type hints in homeassistant_alerts tests ( #121293 )
2024-07-05 13:25:31 +02:00
epenet
e4731c07cb
Add monkeypatch to enforce-type-hints plugin ( #121051 )
2024-07-05 11:35:56 +02:00
Steven B
d42dced852
Fix tplink light effect behaviour when activating a scene ( #121288 )
2024-07-05 11:19:04 +02:00
Robert Svensson
eb5a98e7ea
Use fixtures in deCONZ light tests PT2 ( #121208 )
2024-07-05 10:57:17 +02:00
epenet
2ab02c06c6
Add monkeypatch type hints to rflink tests ( #121053 )
2024-07-05 10:54:16 +02:00
Thomas55555
ad02afe7be
Extend wrapper for sending commands to all platforms in Husqvarna Automower ( #120255 )
2024-07-05 10:02:38 +02:00
Paulus Schoutsen
daaf35d4c1
Simplify conversation tests ( #121060 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-05 09:46:36 +02:00
J. Nick Koston
229e54d0b1
Remove unneeded blocking sleep in srp_energy tests ( #121141 )
2024-07-05 09:46:12 +02:00
hahn-th
97de9c9f69
Revert Homematic IP Cloud unique ID changes ( #121231 )
2024-07-05 09:45:20 +02:00
Allen Porter
700675042b
Improve redaction for stream error messages ( #120867 )
2024-07-05 09:42:29 +02:00
Thomas55555
1b42b32ac1
Fix work area sensor in Husqvarna Automower ( #121228 )
2024-07-05 09:41:21 +02:00
Maciej Bieniek
dbe98de82a
Fix `pulse counter frequency` sensors for Shelly Plus Uni ( #121178 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-05 09:40:43 +02:00
Christophe Gagnier
b28f528a7a
Add max current number entity for TechnoVE ( #121148 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-05 09:39:58 +02:00
epenet
b054c037fe
Improve type hints in hassio tests ( #121221 )
2024-07-05 09:05:21 +02:00
Robert Svensson
dcef25c0fa
Use fixtures in deCONZ climate tests ( #121242 )
2024-07-05 09:01:45 +02:00
Sarabveer Singh
b3a62a97b4
Update HomeKit PM2.5 mappings based on new 2024 US EPA AQI ( #109900 )
2024-07-04 22:10:35 -05:00
Robert Svensson
62d9020261
Remove legacy method from deCONZ fan and sensor tests ( #121244 )
2024-07-04 18:17:15 -05:00
Erik Montnemery
e47cbf3cf7
Use async_setup_recorder_instance fixture in recorder v32_migration tests ( #121081 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 17:49:51 -05:00
Shay Levy
b14f22926a
Fix WebOS TV media player status when OFF after IDLE ( #121251 )
2024-07-05 00:19:24 +03:00
xLarry
276f6c7ee7
Update laundrify_aio to v1.2.2 ( #121068 )
...
* refactor: upgrade laundrify_aio to v1.2.1
* refactor: update laundrify_aio to v1.2.2
2024-07-04 22:08:50 +02:00
epenet
83fac6192d
Use service_calls fixture in webostv tests ( #120999 )
2024-07-04 23:07:38 +03:00
epenet
84a8259103
Improve type hints in ezviz tests ( #120679 )
2024-07-04 21:59:02 +02:00
Maciej Bieniek
001bb3a04e
Bump `nettigo_air_monitor` to version 3.3.0 ( #120901 )
...
* Bump nam library
* Update snaphots (increasing accuracy)
* Update lib and snapshot
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-04 21:40:25 +02:00
Matthew FitzGerald-Chamberlain
df7be501d3
Fix AprilAire case ( #120895 )
...
* Fix AprilAire case
* Fix test
2024-07-04 21:27:56 +02:00
G Johansson
ebe7a4747d
Bump pytrafikverket to 1.0.0 ( #121210 )
...
* Update all related files and tests to new version
* Fix missed modal
* Bump requirements
2024-07-04 21:09:19 +02:00