Commit Graph

82583 Commits (f80cc1a247dcbfcecc4dfd3912d2065f3ad21cdb)

Author SHA1 Message Date
Adam Pasztor d2289fa542
Add select platform to ADS integration (#125892)
* Add ADS Select integration

* fix: review feedback.
2024-09-13 14:05:37 +02:00
Willem-Jan van Rootselaar 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
TimL 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ørensen 5d9c986f87
Bump aiogithubapi from 23.11.0 to 24.6.0 (#125819) 2024-09-13 13:33:57 +02:00
Martin Hjelmare 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
IceBotYT 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 Benecke 19a09b93dd
Bump pydiscovergy to 3.0.2 (#125853) 2024-09-13 12:59:33 +02:00
Jan-Philipp Benecke 590b3d0fd4
Remove deprecated YAML import from seventeentrack (#125852) 2024-09-13 12:58:51 +02:00
Jan-Philipp Benecke ff31efdbf7
Bump aiotankerkoenig to 0.4.2 (#125855) 2024-09-13 12:58:23 +02:00
Klaas Schoute c67698b34e
Bump autarco lib to v3.0.0 (#125867)
Bump autarco to v3.0.0
2024-09-13 12:50:04 +02:00
epenet 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
AlCalzone 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 Pasztor 834a1ed608
Add codeowner to ADS integration. (#125893) 2024-09-13 11:20:16 +02:00
epenet 0c178d858f
Fix incorrect import in lcn tests (#125877) 2024-09-13 10:12:38 +02:00
epenet 6d17ad4da6
Move ADS supported types to a StrEnum (#125824) 2024-09-13 10:12:24 +02:00
Jan-Philipp Benecke f311198da0
Fix failing nextdns coordinator test (#125859) 2024-09-13 08:34:55 +02:00
epenet bd2b72235e
Use root import in tests (#125862)
* Use root import in components

* One more
2024-09-13 06:42:32 +02:00
epenet 11f42761aa
Fix incorrect import in androidtv tests (#125860) 2024-09-12 23:30:51 +02:00
epenet 47a9dda3b8
Use root import in components (#125858) 2024-09-12 22:21:21 +02:00
G Johansson d259e4512b
Improve logging message for validation in climate (#125837) 2024-09-12 21:41:00 +02:00
epenet d530fd31b0
Use root import for async_redact_data in diagnostics (#125821) 2024-09-12 20:37:00 +02:00
Erik Montnemery 662a30ffaf
Disable voip call_in_progress binary sensor (#125812) 2024-09-12 13:34:11 -05:00
Erik Montnemery 56031b2e1a
Disable Wyoming assist_in_progress binary sensor (#125806) 2024-09-12 13:33:35 -05:00
Jan-Philipp Benecke 57e1709782
Remove deprecated YAML import from rova (#125849) 2024-09-12 20:27:42 +02:00
epenet 2c210e4b58
Use root import for websocket_api (#125834) 2024-09-12 19:31:57 +02:00
epenet 6ef1dd56f5
Use root import for device_automation (#125836) 2024-09-12 17:01:25 +02:00
Noah Husby 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
epenet 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
epenet e27cee53a8
Improve type hints in ads (#125825)
* Improve type hints in ads

* One more

* Adjust
2024-09-12 15:33:27 +02:00
epenet 1a478bd78a
Use root import for media_player and media_source in tests (#125829) 2024-09-12 14:55:29 +02:00
Michel van de Wetering 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. 02e392e215
Finish cleanup of deprecated ring update service (#125810) 2024-09-12 12:50:46 +02:00
HarvsG 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 Johansson 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
Maciej Bieniek da401cafdf
Add support for cover tilt for Shelly 2PM Gen3 (#125717)
* Add support for tilt

* Fix config

* Add test

* Increase test coverage
2024-09-12 09:28:36 +02:00
Erik Montnemery e89b258970
Disable ESPHome assist_in_progress binary sensor (#125802) 2024-09-12 09:07:01 +02:00
epenet b1a777a95a
Move sunweg sensor definitions (#125754) 2024-09-12 08:05:40 +02:00
epenet 21d3f15059
Move growatt_server sensor definitions (#125755) 2024-09-12 07:58:05 +02:00
Michael Hansen 9651072103
Fix audio format for VoIP (#125785)
Fix audio format
2024-09-11 20:57:47 -04:00
LG-ThinQ-Integration 2475e8c0c4
Add binary_sensor platform to LG ThinQ integration (#125664)
* Add binary_sensor platform to LG ThinQ integration

* Update homeassistant/components/lg_thinq/binary_sensor.py

* Remove unused translation key

* Add one_touch_filter property to binary_sensor

* Add one_touch_filter to icons, strings

* Update homeassistant/components/lg_thinq/strings.json

---------

Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-12 02:32:13 +02:00
Noah Husby 11fe48f2d2
Bump aiostreammagic to 2.2.5 (#125792) 2024-09-12 01:57:54 +02:00
cnico ee7bee2766
Refactoring flipr integration to prepare Hub device addition (#125262)
* Addition of hub device

* coordinator udata updated after a hub action

* Unit tests update

* Unit tests improvements

* addition of tests on select and switch platforms

* wording

* Removal of select platform for PR containing only one platform

* Remove hub to maintain only the refactoring that prepare the hub device addition

* Review corrections

* wording

* Review corrections

* Review corrections

* Review corrections
2024-09-11 23:34:29 +02:00
Louis Christ 0582c39d33
Remove call to removed function in bluesound integration (#125779)
* Remove async_trigger_sync_on_all

* Use cast instead of instanceof
2024-09-11 23:14:43 +02:00
Louis Christ f176233f0a
Bump pyblu to 1.0.2 (#125784) 2024-09-11 23:14:19 +02:00
Noah Husby 610e9239a4
Add media player test to Cambridge Audio (#125780)
* Add media player tests to Cambridge Audio

* Add media player tests to Cambridge Audio

* Remove unnecessary test case

* Move state_update call out of mock

* Update tests/components/cambridge_audio/test_media_player.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-11 22:06:03 +02:00
Joost Lekkerkerker 98728d37a6
Bump jaraco.abode to 6.2.0 (#125512)
* Bump jaraco.abode to 6.2.0

* Bump jaraco.abode to 6.2.0
2024-09-11 20:50:48 +02:00
Andy Castille d7cf05e693
Allow attaching additional data to schedule helper blocks (#116585)
* Add a new optional "data" key when defining time ranges for the schedule component that exposes the provided data in the state attributes of the schedule entity when that time range is active

* Exclude all schedule entry custom data attributes from the recorder (with tests)

* Fix setting schedule attributes to exclude from recorder, update test to verify the attributes exist but are not recorded

* Fix test to ensure schedule data attributes are not recorded

* Use vol.Any in place of vol.Or

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

* Remove schedule block custom data shorthand
as requested in https://github.com/home-assistant/core/pull/116585#pullrequestreview-2280260436

* Update homeassistant/components/schedule/__init__.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-11 20:11:06 +02:00
Steven B. 75d3ea34fc
Add test snapshots to ring switch and siren platforms (#125771) 2024-09-11 19:46:26 +02:00
Arie Catsman 66f9e06c25
Reload enphase_envoy integration upon envoy firmware change detection (#124650)
* Reload enphase_envoy integration upon envoy firmware change detection.

* remove persistant notification
2024-09-11 19:39:54 +02:00
Tsvi Mostovicz f52f60307b
Implement time triggers with offset for timestamp sensors (#120858)
* Implement time triggers with offset for timestamp sensors

* Fix bad change

* Add testcase for multiple conf_at with offsets

* Fix fixture rename

* Fix testcase - if no offset provided, it should be just the string of the entity id

* Get test to pass

* Simplify code

* Update the messaging and make the offset optional allowing specifying only the entity_id

* Move state tracking one level up

* Implement requesteed changes
2024-09-11 19:33:00 +02:00