Commit Graph
68392 Commits
Author SHA1 Message Date
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
Pedro JanuárioandGitHub e7db0bf34d add library logger info on ecoforest integration manifest (#103274) 2023-11-02 23:32:46 +01:00
Jan-Philipp BeneckeandGitHub 4e3ff45a5e Use constant instead of plain key name for device info attributes (#103188)
* Use constant instead of plain key name for device info connections

* Some more device info constant changes
2023-11-02 21:59:25 +01:00
J. Nick KostonandGitHub f15fb6cf5e Reduce overhead to run event triggers (#103172) 2023-11-02 15:48:32 -05:00
J. Nick KostonandGitHub 45f5c21402 Speed up websocket and ingress with aiohttp-zlib-ng (#103247) 2023-11-02 15:18:12 -05:00
Álvaro Fernández RojasandGitHub 35e1ecec8d Update aioairzone-cloud to v0.3.2 (#103258)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-11-02 20:53:26 +01:00
Charles GarwoodandGitHub b12d99bd2b Bump pyenphase to 1.14.1 (#103239) 2023-11-02 15:46:58 -04:00
rappenzeandGitHub 4c3c86511b Fix fibaro event handling (#103199) 2023-11-02 18:07:35 +01:00
Joakim PlateandGitHub 194a799b0a Remove measurement flag from timestamp in gardena bluetooth (#103245)
Remove measurement flag from timestamp
2023-11-02 16:47:33 +01:00
Joost LekkerkerkerandGitHub 401bb90215 Use shorthand attributes in Random (#103206) 2023-11-02 14:40:27 +01:00
Joost LekkerkerkerandGitHub a0741c74b2 Remove icon in Random (#103235) 2023-11-02 13:18:13 +01: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
Matthias AlphartandGitHub 76115ce766 Fix Fronius entity initialisation (#103211)
* Use None instead of raising ValueError if value invalid

* use async_dispatcher_send
2023-11-02 09:13:04 +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
XiteeandGitHub f05d2eb261 Fix roomba error if battery stats are not available (#103196) 2023-11-01 21:12:57 +01:00
XiteeandGitHub 135944b6f0 Fix roomba translation key mismatch (#103191) 2023-11-01 20:15:18 +01:00
Jan-Philipp BeneckeandGitHub 67fa304b78 Use constant instead of plain key name for device info connections in roborock and roomba (#103182) 2023-11-01 18:09:49 +01:00
Jan-Philipp BeneckeandGitHub 56b4369f44 Add MAC address to bsblan device info (#103180) 2023-11-01 17:53:40 +01:00
J. Nick KostonandGitHub 12c5aec5e6 Add bluetooth address to august (#103177) 2023-11-01 10:47:56 -05:00
Jan-Philipp BeneckeandGitHub ebee51a794 Add MAC address to roborock device info (#103175) 2023-11-01 10:28:03 -05:00
Jan-Philipp BeneckeandGitHub e48cb909f4 Use shorthand device info attribute for roomba (#103176) 2023-11-01 10:27:51 -05:00
jimmyd-beandGitHub ae02e3f903 Add reset filter counter button to Renson integration (#103126)
Add reset filter counter button
2023-11-01 16:27:23 +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
XiteeandGitHub cef68ea33c Add hardware version to Roomba (#103171) 2023-11-01 09:21:42 -05:00
Jan-Philipp BeneckeandGitHub 8b7cfc070e Move base entity of system_bridge to own module (#103167)
* Move base entity of system_bridge to own module

* Add entity.py to .coveragerc
2023-11-01 14:21:39 +01:00
Joost LekkerkerkerandGitHub 6e5479d307 Bump aiowaqi to 3.0.0 (#103166) 2023-11-01 13:25:33 +01:00
G JohanssonandGitHub 412b0e1c55 Bump python-holidays to 0.35 (#103092) 2023-11-01 12:37:59 +01:00
Bram KragtenandGitHub f624946ac0 Update frontend to 20231030.1 (#103163) 2023-11-01 11:05:17 +01:00
J. Nick KostonandGitHub 78e546b35a Avoid enumerating the whole state machine on api service calls (#103147) 2023-11-01 10:25:02 +01:00
Jan BouwhuisandGitHub daee5baef6 Fix mqtt is not reloading without yaml config (#103159) 2023-11-01 09:25:56 +01:00
J. Nick KostonandGitHub 6ea5af7575 Bump aioesphomeapi to 18.2.1 (#103156) 2023-11-01 08:56:48 +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
e880ad7bda Improve reload of legacy groups (#102925)
* Improve reload of legacy groups

* Simplify reload

* Get rid of inner function

* Fix logic when there are no group.group entities

* Update homeassistant/components/group/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fix type hints

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-01 00:18:21 +01:00
J. Nick KostonandGitHub 1a6184a9aa Allow non-admins to subscribe to the issue registry updated event (#103145) 2023-10-31 16:29:22 -05:00
J. Nick KostonandGitHub 8eb7766f30 Avoid path construction for static files cache hit (#102882) 2023-10-31 14:31:58 -05:00
Paul BotteinandGitHub 4d475a9758 Don't try to load resources in safe mode (#103122) 2023-10-31 19:25:25 +01:00
Aidan TimsonandGitHub 6433bf4d77 Create update component for System Bridge (#102966)
* Create update component for System Bridge

* Add
2023-10-31 19:08:47 +01:00
J. Nick KostonandGitHub 3ebd029026 Bump aiohomekit to 3.0.9 (#103123) 2023-10-31 12:56:15 -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
starkillerOGandGitHub 620a3350d7 Bump reolink-aio to 0.7.12 (#103120) 2023-10-31 15:15:20 +01:00
Christopher FennerandGitHub 22126a1280 Handle exception introduced with recent PyViCare update (#103110) 2023-10-31 13:42:52 +01:00
G JohanssonandGitHub 193ce08b39 No aliases in workday (#103091) 2023-10-31 11:35:09 +01:00