Commit Graph
82549 Commits
Author SHA1 Message Date
Robert ContrerasandGitHub 85aa32338e Add Home Connect sensors for fridge door states and alarms (#125490)
* New sensors for Fridge door states and alarms

* Move 2 option entities to binary_sensor, tests

* Change state translations

* Fix stale docstring
2024-09-13 19:31:35 +02:00
puddlyandGitHub ba7ca84899 Remove unused keys from the ZHA config schema (#125710) 2024-09-13 11:34:06 -04:00
Noah HusbyandGitHub 2d9c9707e3 Improve integration tests for Cambridge Audio (#125906) 2024-09-13 17:09:33 +02:00
Noah HusbyandGitHub d507953c70 Add logs on disconnect/reconnect for Cambridge Audio (#125904)
* Bump aiostreammagic to 2.3.0

* Add logging on disconnect/reconnect for Cambridge Audio
2024-09-13 16:57:39 +02:00
G JohanssonandGitHub d855f70e3b Add RestoreEntity to template alarm_control_panel (#125844) 2024-09-13 16:44:48 +02:00
Noah HusbyandGitHub a2a049c5cc Bump aiostreammagic to 2.3.0 (#125903) 2024-09-13 16:37:32 +02:00
epenetandGitHub 58f66e54f9 Improve config flow type hints in wolflink (#125313) 2024-09-13 16:34:08 +02:00
Steven B.andGitHub ba856dac4e Migrate ring cam siren from switch to siren platform (#125761) 2024-09-13 15:39:22 +02:00
Raj LaudandGitHub a01036760e Add tests to the media_player platform of the Squeezebox integration (#125378)
* Squeezebox media_player platform tests

* Fix play-pause test

* Squeezebox remove stray reference to deprecated property

* More tests for squeezebox

* Update tests to fix merge conflict with binary_sensor

* Refactor tests to use autospec

* Use freeze and snapshot

* Update media player entity before adding

* Consolidate test fixtures for different platforms

* Merge in sensor platform

* Use deepcopy

* Update tests with suggestions from code review
2024-09-13 15:20:31 +02:00
David KnowlesandGitHub 0af913cc9a Automatically add and remove Schlage devices (#125520)
* Allow manual deletion of stale Schlage devices

* Automatically add and remove locks

* Add tests and fix discovered bugs

* Changes requested during review
2024-09-13 15:17:51 +02:00
2e3aec3184 Add button platform to the Lektrico integration (#125897)
* Add lektrico buttons.

* Add DeviceClass.RESTART, remove exception, update description.

* Remove translation_key=reboot.

* Add button in strings.json.

* Fix button test with new snapshot.

* Remove remove button from strings.json.

* Delete all snapshots.

* Add new snapshots.

* Update tests/components/lektrico/snapshots/test_button.ambr

* Update tests/components/lektrico/snapshots/test_button.ambr

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-13 15:13:49 +02:00
shapournemati-iottyandGitHub 1cea791245 Add Cover platform to Iotty (#125422)
* fadd cover entity and device with mocked commands

* add cover features and update its open percentage

* execute command to the cloud instead of mocking change of shutter state

* test iotty cover commands and insertion

* fix post payload

* refactor introducing common entity from which cover and switch inherit

* move more properties to base class

* use explicit values instead of snapshots

* move iotty device initialization to base entity

* move device info from property to attribute
2024-09-13 14:55:53 +02:00
Steven B.andGitHub eae4618c52 Migrate ring siren and switch platforms to entity descriptions (#125775) 2024-09-13 14:27:33 +02:00
e6d1daacee Add on_key to ONE_TOUCH_FILTER property in LG ThinQ integration (#125797)
Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-09-13 14:16:03 +02:00
Brett AdamsandGitHub e71709f0ec Add switch platform to Tesla Fleet (#125798)
* Add switch platform

* Add tests
2024-09-13 14:15:25 +02:00
Josef ZweckandGitHub 8af6ffdb49 Bump lmcloud to 1.2.3 (#125801) 2024-09-13 14:08:29 +02:00
Adam PasztorandGitHub d2289fa542 Add select platform to ADS integration (#125892)
* Add ADS Select integration

* fix: review feedback.
2024-09-13 14:05:37 +02:00
1ae1391cb9 Add platform sensor to BSBLAN integration (#125474)
* add sensor platform

* refactor: Add sensor data to async_get_config_entry_diagnostics

* refactor: Add tests for sensor

* chore: remove duplicate test

* Update tests/components/bsblan/test_sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* refactor: let hass use translation_key

fix raise

* refactor: Add new sensor entity names to strings.json

* refactor: Add tests for current temperature sensor

* refactor: Update native_value method in BSBLanSensor

* refactor: Update test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-13 14:04:00 +02:00
6aa07243cd Add info based sensors to Smlight integration (#125482)
* Move entity category to class

* improve type hints

* Regenerate sensor snapshots to remove some invalid entries

* Add info sensors that display various device settings/modes

* Add strings for info sensors

* Update sensor snapshot with new sensors

* Use StateType

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Use icon translations

* statetype

* drop ip sensor

* Lookup enum values before translating

* entities use options

* update options strings

strings

* lookup values from options

* update sensor snapshot

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-13 13:36:54 +02:00
Joakim SørensenandGitHub 5d9c986f87 Bump aiogithubapi from 23.11.0 to 24.6.0 (#125819) 2024-09-13 13:33:57 +02:00
Martin HjelmareandGitHub c7e9096dfd Bump zwave-js-server-python to 0.58.0 (#125666)
* Bump zwave-js-server-python to 0.58.0

* Update lock test
2024-09-13 13:22:37 +02:00
IceBotYTandGitHub 13d83d86f6 Add reauth flow to Nice G.O. (#125516)
* Add reauth flow to Nice G.O.

* Remove unnecessary freezer use

* Tweaks

* Remove re-raise

* Tiny typing tweak

* Remove if in test

* Remove overlaying old data

* Don't touch title once done
2024-09-13 13:15:53 +02:00
Jan-Philipp BeneckeandGitHub 19a09b93dd Bump pydiscovergy to 3.0.2 (#125853) 2024-09-13 12:59:33 +02:00
Jan-Philipp BeneckeandGitHub 590b3d0fd4 Remove deprecated YAML import from seventeentrack (#125852) 2024-09-13 12:58:51 +02:00
Jan-Philipp BeneckeandGitHub ff31efdbf7 Bump aiotankerkoenig to 0.4.2 (#125855) 2024-09-13 12:58:23 +02:00
Klaas SchouteandGitHub c67698b34e Bump autarco lib to v3.0.0 (#125867)
Bump autarco to v3.0.0
2024-09-13 12:50:04 +02:00
epenetandGitHub 88cacbc898 Expose component constants for llm helper (#125891)
* Expose climate INTENT_GET_TEMPERATURE

* Expose conversation trace items

* More fixes for llm helper
2024-09-13 12:43:37 +02:00
3eaa005c7e Use start/stop level change to open/close Z-Wave JS Window Covering CC covers (#125827)
* Z-Wave JS: Use start/stop level change to open/close Window Covering CC covers

* fix: import

* Update tests/components/zwave_js/test_cover.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* assert that up_value and down_value exist

* fix: forgot one

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-13 12:41:13 +02:00
Adam PasztorandGitHub 834a1ed608 Add codeowner to ADS integration. (#125893) 2024-09-13 11:20:16 +02:00
epenetandGitHub 0c178d858f Fix incorrect import in lcn tests (#125877) 2024-09-13 10:12:38 +02:00
epenetandGitHub 6d17ad4da6 Move ADS supported types to a StrEnum (#125824) 2024-09-13 10:12:24 +02:00
Jan-Philipp BeneckeandGitHub f311198da0 Fix failing nextdns coordinator test (#125859) 2024-09-13 08:34:55 +02:00
epenetandGitHub bd2b72235e Use root import in tests (#125862)
* Use root import in components

* One more
2024-09-13 06:42:32 +02:00
epenetandGitHub 11f42761aa Fix incorrect import in androidtv tests (#125860) 2024-09-12 23:30:51 +02:00
epenetandGitHub 47a9dda3b8 Use root import in components (#125858) 2024-09-12 22:21:21 +02:00
G JohanssonandGitHub d259e4512b Improve logging message for validation in climate (#125837) 2024-09-12 21:41:00 +02:00
epenetandGitHub d530fd31b0 Use root import for async_redact_data in diagnostics (#125821) 2024-09-12 20:37:00 +02:00
Erik MontnemeryandGitHub 662a30ffaf Disable voip call_in_progress binary sensor (#125812) 2024-09-12 13:34:11 -05:00
Erik MontnemeryandGitHub 56031b2e1a Disable Wyoming assist_in_progress binary sensor (#125806) 2024-09-12 13:33:35 -05:00
Jan-Philipp BeneckeandGitHub 57e1709782 Remove deprecated YAML import from rova (#125849) 2024-09-12 20:27:42 +02:00
epenetandGitHub 2c210e4b58 Use root import for websocket_api (#125834) 2024-09-12 19:31:57 +02:00
epenetandGitHub 6ef1dd56f5 Use root import for device_automation (#125836) 2024-09-12 17:01:25 +02:00
Noah HusbyandGitHub a4c88a8591 Add entity available attribute to Cambridge Audio (#125831)
* Bump aiostreammagic to 2.2.4

* Move callback handling to entity class

* Wrap all module exceptions in HA errors for Cambridge Audio
2024-09-12 16:09:53 +02:00
epenetandGitHub 4afc472068 Use root import for media_player and media_source (#125828)
* Use root import for media_player and media_source

* One more
2024-09-12 15:38:53 +02:00
epenetandGitHub e27cee53a8 Improve type hints in ads (#125825)
* Improve type hints in ads

* One more

* Adjust
2024-09-12 15:33:27 +02:00
epenetandGitHub 1a478bd78a Use root import for media_player and media_source in tests (#125829) 2024-09-12 14:55:29 +02:00
Michel van de WeteringandGitHub 4e1b865775 Remove manufacturer name from Wake on LAN device_info (#123836)
Remove made up  manufacturer
2024-09-12 14:13:23 +02:00
Steven B.andGitHub 02e392e215 Finish cleanup of deprecated ring update service (#125810) 2024-09-12 12:50:46 +02:00
70ebf2f5d8 Accept more than 1 state for numeric entities in Bayesian (#119281)
* test driven delevopment

* test driven development - multi numeric state

* better multi-state processing

* when state==below return true

* adds test for a bad state

* improve codecov

* value error already handled in async_numeric_state

* remove whitespace

* remove async_get

* linting

* test_driven dev for error handling

* make tests fail correctly

* ensure tests fail correctly

* prevent bad numeric entries

* ensure no overlapping ranges

* fix tests, as error caught in validation

* remove redundant er call

* remove reddundant arg

* improves code coverage

* filter for numeric states before testing overlap

* adress code review

* skip non numeric configs but continue

* wait to avoid race condition

* Better tuples name and better guard clause

* better test description

* more accurate description

* Add comments to calculations

* using typing not collections as per ruff

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* follow on from suggestions

* Lazy evaluation

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* update error text in tests

* fix broken tests

* move validation function call

* fixes return type of above_greater_than_below.

* improves codecov

* fixes validation

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-12 12:06:18 +02:00
G JohanssonandGitHub c21ea6b8da Validate target temp features in Climate Entity (#125180)
* Validate target temp features in Climate Entity

* Soften

* Break long string
2024-09-12 10:13:19 +02:00