Commit Graph
18202 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub 3ba8a82243 Differentiate between warnings and errors in check_config helper (#102902)
* Differentiate between warnings and errors in check_config helper

* Update tests

* Treat configuration errors in frontend and its dependencies as errors

* Improve test coverage

* Address review comments

* Improve test coverage

* Improve test coverage

* Address review comments

* Add comment
2023-11-05 03:08:04 +01:00
Allen PorterandGitHub 936956a430 Fix CalDAV supported components check when configured from the UI (#103411)
* Fix CalDAV supported components check when configured from the UI

* Move async_get_calendars to a seprate file

* Simplify return value for async_get_calendars
2023-11-05 01:36:00 +01:00
Sebastian LövdahlandGitHub c04db6a249 Bump vallox_websocket_api to 4.0.2 (#103339) 2023-11-04 14:55:50 -05:00
G JohanssonandGitHub 941239262a Remove platform YAML from LastFM (#103391) 2023-11-04 19:24:34 +01:00
G JohanssonandGitHub d0603729f2 Remove platform YAML from DWD Weather Warnings (#103379) 2023-11-04 18:56:53 +01:00
G JohanssonandGitHub d078a4396c Remove platform YAML from Qnap (#103377) 2023-11-04 17:59:12 +01:00
J. Nick KostonandGitHub 8b30a901dd Remove unreachable code in logbook (#103309) 2023-11-04 10:54:22 -05:00
22306bd309 Add diagnostics support to Schlage (#103347)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-04 10:54:00 -05:00
G JohanssonandGitHub 7671ab0bb7 Remove platform yaml from myStrom (#103378) 2023-11-04 16:41:59 +01:00
G JohanssonandGitHub 72c02d4d63 Remove counter configure service (#103204)
* Remove counter configure service after deprecation

* reproduce state
2023-11-04 16:17:51 +01:00
G JohanssonandGitHub 2d3318e767 Remove platform YAML from Command line (#103202) 2023-11-04 16:17:31 +01:00
Franck NijhofandGitHub 07f03d9ec9 Set suggested display precision for HomeWizard Energy power sensors (#103369) 2023-11-04 15:40:50 +01:00
Franck NijhofandGitHub 109944e4ff Replace/restructure HomeWizard device fixtures to reflect reality (#103311) 2023-11-04 13:37:08 +01:00
Raman GuptaandGitHub 2b3d57859e Add test for firmware update scenario (#103314) 2023-11-04 13:12:06 +01:00
IanandGitHub 51c3a5d11d Nextbus: Listify directions (#103337)
When a single value is returned, the list wrapper is not present in the
json payload. This patch ensures that the result is always a list.
2023-11-04 08:56:27 +01:00
Jan-Philipp BeneckeandGitHub ae1117bc74 Fix failing entity reuse test (#103342)
* Fix failing entity reuse test

* One more test
2023-11-03 23:19:37 +01:00
Erik MontnemeryandGitHub 0ea0a1ed06 Prevent accidentally reusing an entity object (#102911)
* Prevent accidentally reusing an entity object

* Fix group reload service

* Revert "Fix group reload service"

* Improve test

* Add tests aserting entity can't be reused
2023-11-03 21:01:38 +01:00
Joakim SørensenandGitHub 921d6feae7 Remove extra from traccar webhook (#103319) 2023-11-03 17:44:48 +01:00
Raman GuptaandGitHub eeb88f5e07 Fix zwave_js cover bug for Window Covering CC values (#103289)
* Fix cover bug for Window Covering CC values

* update test

* Fix fixture

* Remove no-op line from test
2023-11-03 15:36:48 +01:00
TomandGitHub 2a31eb6762 Fix Plugwise Schedule selection (#103262) 2023-11-03 12:17:36 +01:00
Marcel van der VeldtandGitHub 680162d494 Fix Matter 1.2 locks with specific unlatch/unbolt support (#103275) 2023-11-03 12:09:31 +01:00
Paul BotteinandGitHub 89a9e6c6e8 Add trigger selector for blueprint (#103050) 2023-11-03 09:11:49 +01:00
Guido SchmitzandGitHub f5cc4dcf3e Add MAC adress to devolo Home Network DeviceInfo (#103290)
Add MAC adress to devolo Home Network devices
2023-11-03 08:34:49 +01:00
G JohanssonandGitHub 12e1acfcfc Cleanup weather test (#103090)
* Cleanup weather test

* rename

* Clean off not used MockWeatherCompat

* conftest

* more cleanup

* Fin mod tests

* fix others
2023-11-03 05:53:38 +01:00
a95aa4e15f Add config flow to CalDAV (#103215)
* Initial caldav config flow with broken calendar platform

* Set up calendar entities

* Remove separate caldav entity

* Update tests after merge

* Readbility improvements

* Address lint issues

* Apply suggestions from code review

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

* Add checking for duplicate configuration entries

* Use verify SSL as input into caldav and simplify test setup

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-02 19:48:56 -07:00
06c9719cd6 Support multiple responses for service calls (#96370)
* add supports_response to platform entity services

* support multiple entities in entity_service_call

* support legacy response format for service calls

* revert changes to script/shell_command

* add back test for multiple responses for legacy service

* remove SupportsResponse.ONLY_LEGACY

* Apply suggestion

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* test for entity_id remove None

* revert Apply suggestion

* return EntityServiceResponse from _handle_entity_call

* Use asyncio.gather

* EntityServiceResponse not Optional

* styling

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-11-02 18:37:35 -07:00
Jan BouwhuisandGitHub b86f3be510 Optmize timing excecutor timeout test (#103276) 2023-11-02 20:00:34 -05:00
4a117c0a1e Add buttons to connect/disconnect the Idasen Desk (#102433)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-02 19:57:48 -05:00
Denis ShulyakaandGitHub d18b2d8748 Shield service call from cancellation on REST API connection loss (#102657)
* Shield service call from cancellation on connection loss

* add test for timeout

* Apply suggestions from code review

* Apply suggestions from code review

* fix merge

* Apply suggestions from code review
2023-11-02 12:58:26 +01:00
Jan BouwhuisandGitHub 4a4d2ad743 Fix mqtt config validation error handling (#103210)
* Fix MQTT config check

* Fix handling invalid enity_category for sensors

* Improve docstr

* Update comment

* Use correct util for yaml dump
2023-11-02 10:57:00 +01:00
fe482af561 Add modernized fitbit battery level sensor (#102500)
* Add modernized fitbit battery level sensor

* Use entity names for existing battery sensors

* Use icon from device class

* Update homeassistant/components/fitbit/strings.json

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

* Update tests with lower case naming

* Swap the names of the device battery sensors

* Revert "Swap the names of the device battery sensors"

This reverts commit c9516f6d06.

* Update homeassistant/components/fitbit/sensor.py

Co-authored-by: Jan Vaníček <janvanicek@post.cz>

* Improve typing

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Jan Vaníček <janvanicek@post.cz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-02 10:22:27 +01:00
47d6d6c344 Add button platform to Roborock (#103010)
* add button platform to roborock

* Update tests/components/roborock/test_button.py

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>

* Remove device class

* improve tests

* sort platforms

---------

Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-01 21:34:04 +01:00
Tudor SanduandGitHub 66dd3b153d Support HassTurnOn/Off intents for lock domain (#93231)
* Support HassTurnOn/Off intents for lock domain

Fix https://github.com/home-assistant/intents/issues/1347

* Added tests

* Linting changes

* Linting
2023-11-01 09:46:13 -05:00
mkmerandGitHub 4a93465e85 Catch unexpected response in Honeywell (#103169)
catch unexpected response
2023-11-01 15:41:41 +01:00
Jan BouwhuisandGitHub daee5baef6 Fix mqtt is not reloading without yaml config (#103159) 2023-11-01 09:25:56 +01:00
04dfbd2e03 Improve fitbit oauth token error handling in config flow (#103131)
* Improve fitbit oauth token error handling in config flow

* Apply suggestions from code review

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

* Update tests with updated error reason

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-31 19:48:33 -07:00
Teemu RandGitHub f944c68e01 Bump python-kasa to 0.5.4 for tplink (#103038) 2023-10-31 19:54:51 -05:00
J. Nick KostonandGitHub 8eb7766f30 Avoid path construction for static files cache hit (#102882) 2023-10-31 14:31:58 -05:00
J. Nick KostonandGitHub 9b27552238 Fix race in starting reauth flows (#103130) 2023-10-31 12:38:05 -05:00
Joost LekkerkerkerandGitHub d75a6a3b4b Use right functions for fixtures in Freebox test (#103135) 2023-10-31 17:25:08 +01:00
NarmishkaandGitHub f55cd17982 Move Freebox tests to fixtures (#103128) 2023-10-31 15:50:17 +00:00
Christopher FennerandGitHub 22126a1280 Handle exception introduced with recent PyViCare update (#103110) 2023-10-31 13:42:52 +01:00
55a4769172 Abort config flow if Google Tasks API is not enabled (#103114)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-31 11:32:17 +01:00
Erik MontnemeryandGitHub 0304ac5a1b Fix restore state for light when saved attribute is None (#103096) 2023-10-31 10:05:03 +01:00
G JohanssonandGitHub 85d49a2920 Fix Met Device Info (#103082) 2023-10-31 08:31:53 +01:00
Erik MontnemeryandGitHub 246ebc99cc Fix local_todo todo tests (#103099) 2023-10-31 02:38:58 +01:00
Erik MontnemeryandGitHub 64f8967739 Fix todoist todo tests (#103101) 2023-10-31 02:38:18 +01:00
Erik MontnemeryandGitHub df814af076 Fix shopping_list todo tests (#103100) 2023-10-31 02:03:54 +01:00
Erik MontnemeryandGitHub 6e62cf5efb Fix google_tasks todo tests (#103098) 2023-10-31 02:03:34 +01:00
84b71c9ddb Allow setting hvac mode through set_temperature climate method in Gree integration (#101196)
* Allow setting hvac mode through set_temperature climate method

* Suggested code simplification when reading hvac mode

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Remove unnecessary temperature unit handling from set temperature with hvac mode tests

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-10-30 22:10:47 +01:00