Commit Graph
18362 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub bf87773d87 Fix zeroconf mocking (#104144) 2023-11-17 16:20:54 -06:00
Erik MontnemeryandGitHub 80813e992d Improve formatting of component errors (#104081)
* Improve formatting of component errors

* Update tests
2023-11-17 23:01:00 +01:00
Erik MontnemeryandGitHub 23ef97f774 Use relative paths in yaml syntax error messages (#104084) 2023-11-17 23:00:23 +01:00
Jan-Philipp BeneckeandGitHub e5bc25523e Add config flow for Ping (#103743) 2023-11-17 13:30:30 -06:00
2d891c77ef Reduce nesting in discovergy setup (#104127)
* Reduce nesting in discovergy setup

* Update homeassistant/components/discovergy/sensor.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-17 19:31:29 +01:00
Michael HansenandGitHub 8c99cf14d3 Context slot decisions moved into hassil (#104132) 2023-11-17 11:07:08 -06:00
Erik MontnemeryandGitHub a78764f000 Improve formatting of package errors (#104078) 2023-11-17 14:57:37 +01:00
Michael HansenandGitHub a8acde62ff Use device area as context during intent recognition (#103939)
* Use device area as context during intent recognition

* Use guard clauses
2023-11-17 07:34:14 -06:00
97d38dae09 Bumb python-homewizard-energy to 4.1.0 (#104121)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-17 13:01:44 +01:00
Franck NijhofandGitHub b3ceb82700 Add device fixtures and tests for HomeWizard Energy 3-phase kWh meter (#104118) 2023-11-17 11:47:42 +01:00
Michael HansenandGitHub f605df5bf2 Adjust logbook message for assist pipeline recording (#104105)
* Adjust logbook message

* Fix test
2023-11-16 23:39:08 -05:00
TheJulianJESandGitHub a996a51aa9 Add "Jasco Products" manufacturer to ZHA ForceOnLight (#104089)
* Add "Jasco Products" manufacturer to ZHA `ForceOnLight`

* Change tests to expect `ForceOnLight` for "Jasco Products" lights
2023-11-16 15:24:32 -05:00
b3e247d5f0 Add websocket command to capture audio from a device (#103936)
* Add websocket command to capture audio from a device

* Update homeassistant/components/assist_pipeline/pipeline.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Add device capture test

* More tests

* Add logbook

* Remove unnecessary check

* Remove seconds and make logbook message past tense

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-16 10:28:06 -06:00
Erik MontnemeryandGitHub 4536fb3541 Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
Jan-Philipp BeneckeandGitHub 7c030cfffa Add tests for Discovergy to reach full test coverage (#104039)
* Add tests for Discovergy to reach full test coverage

* Use snapshots and freezer
2023-11-16 16:13:15 +01:00
Erik MontnemeryandGitHub b400b33b0d Refer to domain configuration in custom validator errors (#104065) 2023-11-16 15:28:48 +01:00
Jan-Philipp BeneckeandGitHub cf985a8702 Fix mock typing for Discovergy (#104047) 2023-11-16 14:43:02 +01:00
sdb9696andGitHub 38961c6ddc Add diagnostics platform to ring integration (#104049)
* Add diagnostics platform to ring integration

* Use real-ish data for diagnostics test and use snapshot output
2023-11-16 14:36:15 +01:00
ollo69andGitHub b4797e283f Add HTTP protocol support to AsusWRT (#95720) 2023-11-16 13:45:18 +01:00
Erik MontnemeryandGitHub d8a49b14e5 Use relative paths in configuration validation error messages (#104064) 2023-11-16 10:56:47 +01:00
Erik MontnemeryandGitHub 98030a9ce1 Improve formatting of package errors (#103976) 2023-11-16 09:08:47 +01:00
David KnowlesandGitHub e10c5246b9 Add reauth support to Schlage (#103351)
* Add reauth support to Schlage

* Enforce same user credentials are used on reauth

* Changes requested during review

* Changes requested during review

* Add password to reauth_confirm data
2023-11-16 08:47:13 +01:00
Erik MontnemeryandGitHub 1c817cc18c Attach relevant config to check_config errors (#104048) 2023-11-16 07:25:52 +01:00
Allen PorterandGitHub 613afe322f Add CalDAV To-do item support for Add, Update, and Delete (#103922)
* Add CalDAV To-do item support for Add, Update, and Delete

* Remove unnecessary cast

* Fix ruff error

* Fix ruff errors

* Remove exception from error message

* Remove unnecessary duplicate state update
2023-11-15 19:57:46 -05:00
David KnowlesandGitHub 0899be6d4b Migrate Hydrawise to an async client library (#103636)
* Migrate Hydrawise to an async client library

* Changes requested during review

* Additional changes requested during review
2023-11-16 00:59:37 +01:00
45f1d50f03 Add HassGetWeather intent (#102613)
* Add HassGetWeather intent

* Use async_match_states

* Extend test coverage

* Use get_entity

* Update homeassistant/components/weather/intent.py

* Fix state

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-15 16:20:15 -06:00
c92945ecd6 Fix netatmo authentication when using cloud authentication credentials (#104021)
* Fix netatmo authentication loop

* Update unit tests

* Move logic to determine api scopes

* Add unit tests for new method

* Use pyatmo scope list (#1)

* Exclude scopes not working with cloud

* Fix linting error

---------

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2023-11-15 15:28:16 -05:00
Erik MontnemeryandGitHub 5b37096b5f Refactor config.async_log_exception (#104034)
* Refactor config.async_log_exception

* Improve test coverage

* Make functions public
2023-11-15 19:09:49 +01:00
c132900b92 Add zwave_js.set_lock_configuration service (#103595)
* Add zwave_js.set_lock_configuration service

* Add tests

* string tweaks

* Update homeassistant/components/zwave_js/lock.py

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

* Update strings.json

* Update services.yaml

* Update lock.py

* Remove handle params

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-15 17:01:20 +01:00
Maciej BieniekandGitHub c92a90e04d Disable options flow for Shelly Wall Display (#103988) 2023-11-15 15:45:33 +01:00
Maciej BieniekandGitHub dbe193aaa4 Add release_url property of Shelly update entities (#103739) 2023-11-15 13:36:20 +01:00
Jan-Philipp BeneckeandGitHub b4e8243e18 Refactor tests for discovergy (#103667) 2023-11-15 13:18:20 +01:00
Joost LekkerkerkerandGitHub 0e04cd6b35 Add reauth flow to Trafikverket Weatherstation (#104027)
* Add reauth flow to Trafikverket Weatherstation

* Add tests
2023-11-15 13:15:31 +01:00
Erik MontnemeryandGitHub c4bf8f96dd Add tests for components with custom validators (#104024)
* Add tests for components with custom validators

* Address review comments
2023-11-15 13:11:33 +01:00
Allen PorterandGitHub 5f13faac76 Add the todo.get_items service (#103285) 2023-11-15 11:41:29 +01:00
Erik MontnemeryandGitHub dd7670cacf Improve errors for component configuration with missing keys (#103982) 2023-11-15 10:47:05 +01:00
ac0c1d12c3 Add test checking ZHA light restores with None attributes (#102806)
* Add ZHA test checking light restores with None attributes

* Move shared `core_rs` fixture to `conftest.py`

* Remove special `color_mode` case, use `parametrize` for expected state

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-15 10:45:35 +01:00
Jan-Philipp BeneckeandGitHub 9326ea09a5 Update m* tests to use entity & device registry fixtures (#103980) 2023-11-15 10:33:11 +01:00
J. Nick KostonandGitHub 7803ca2612 Fix emulated_hue with None values (#104020) 2023-11-15 10:27:50 +01:00
sdb9696andGitHub 182c40f16e Add reauth flow to ring integration (#103758)
* Add reauth flow to ring integration

* Refactor re-auth flow post review

* Fix threading issue on device update
2023-11-14 19:49:27 -08:00
54c98f32c2 Bump aiohttp to 3.9.0rc0 for python 3.12 only (#103507)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-11-15 01:02:14 +01:00
Erik MontnemeryandGitHub e87ebbef01 Improve errors for component configuration with multiple errors (#103969)
* Improve errors for component configuration with multiple errors

* Suffix with link to documentation
2023-11-14 21:50:54 +01:00
Michael HansenandGitHub be8507f870 Add HassListAddItem intent (#103716)
* Add HassListAddItem intent

* Add missing list test
2023-11-14 13:00:30 -05:00
Erik MontnemeryandGitHub 2cb4435cf0 Add tests for component configuration with documentation links (#103971) 2023-11-14 17:14:34 +01:00
Chuck FosterandGitHub aca48b5e45 Fix duplicate Ban file entries (#103953) 2023-11-14 17:13:14 +01:00
381ebf3e53 Add tests for component configuration with multiple errors (#103964)
* Add tests for component configuration with multiple errors

* Add new configuration file

* Fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-14 15:08:20 +01:00
Erik MontnemeryandGitHub 94a2087ba0 Improve formatting of config validation errors (#103957)
* Improve formatting of config validation errors

* Address review comments
2023-11-14 12:48:45 +01:00
Erik MontnemeryandGitHub 85eac5a1b1 Add additional test for package errors (#103955)
* Add additional test for package errors

* Adjust tests
2023-11-14 11:48:56 +01:00
Erik MontnemeryandGitHub 44c1cef42e Add tests for component configuration with extra keys (#103959) 2023-11-14 11:26:22 +01:00
Erik MontnemeryandGitHub dedd3418a1 Improve print of line numbers when there are configuration errors (#103216)
* Improve print of line numbers when there are configuration errors

* Update alarm_control_panel test
2023-11-14 08:21:36 +01:00