Commit Graph

68717 Commits (880483624b95537dd74fa7d626636039433a3fb3)

Author SHA1 Message Date
Jan-Philipp Benecke ae1117bc74
Fix failing entity reuse test (#103342)
* Fix failing entity reuse test

* One more test
2023-11-03 23:19:37 +01:00
Erik Montnemery 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
J. Nick Koston dca72c598e
Small speed up to async_listen (#103307)
Avoid constructing an inner function each time we call async_listen
and use a partial which holds a reference to the function body with new
args instead of making another full function
2023-11-03 20:58:03 +01:00
J. Nick Koston 062b510ec0
Cache the mime type of static files (#103281) 2023-11-03 12:37:29 -05:00
Joakim Sørensen 4778c55d2b
Bump pytraccar from 1.0.0 to 2.0.0 (#103318) 2023-11-03 18:09:56 +01:00
Jan Rieger 0f1c96ba97
Add translations to Workday state attributes (#103320) 2023-11-03 17:49:48 +01:00
Joakim Sørensen 921d6feae7
Remove extra from traccar webhook (#103319) 2023-11-03 17:44:48 +01:00
Jan-Philipp Benecke 88850334f1
Fix typo in Todoist config flow (#103317) 2023-11-03 17:16:20 +01:00
J. Nick Koston fd8caaf846
Bump SQLAlchemy to 2.0.23 (#103313) 2023-11-03 11:10:08 -05:00
starkillerOG 1df69f52e5
Bump reolink-aio to 0.7.14 and improve typing of Reolink (#103129)
* Improve typing

* fix mypy

* Further improve typing

* Restore Literal typing

* Bump reolink_aio to 0.7.13

* Bump reolink-aio to 0.7.14
2023-11-03 17:05:27 +01:00
Ian c1d979dc07
Bump py_nextbusnext to v1.0.2 to fix TypeError (#103214)
* Bump py_nextbusnext to v1.0.1 to fix TypeError

Currently throwing an error as a set is passed into the method that is currently
expecting a Sequence. That method is technically compatible with Iterable, so the
latest patch relaxes that restriction.

* Bump version to v1.0.2 to fix error message
2023-11-03 17:03:02 +01:00
J. Nick Koston 5bcff82148
Remove useless inner function in the base Bluetooth coordinator (#103305)
Remove unless inner function in the base Bluetooth coordinator
2023-11-03 15:41:47 +01:00
Raman Gupta 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
Maikel Punie eadfd51dab
Add loggers to the duotecno integration (#103300) 2023-11-03 13:11:26 +01:00
Tom 2a31eb6762
Fix Plugwise Schedule selection (#103262) 2023-11-03 12:17:36 +01:00
tronikos 5d2110c32c
Bump opower to 0.0.39 (#103292) 2023-11-03 12:15:49 +01:00
Marcel van der Veldt 680162d494
Fix Matter 1.2 locks with specific unlatch/unbolt support (#103275) 2023-11-03 12:09:31 +01:00
Raman Gupta ac1dc4eeea
Fix firmware update failure (#103277) 2023-11-03 12:08:40 +01:00
Paul Bottein 89a9e6c6e8
Add trigger selector for blueprint (#103050) 2023-11-03 09:11:49 +01:00
Guido Schmitz 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
J. Nick Koston c81ada16ba
Add debug logging for which adapter is used to connect bluetooth devices (#103264)
Log which adapter is used to connect bluetooth devices

This is a debug logging improvement to help users find problems
with their setup
2023-11-03 07:35:51 +01:00
Erik Montnemery a63c420890
Quote entity ids in entity excpetions (#103286) 2023-11-03 06:04:07 +01:00
G Johansson 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
J. Nick Koston 379c75ea1b
Bump yalexs-ble to 2.3.2 (#103267) 2023-11-02 22:00:43 -05:00
Allen Porter 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
Kevin Stillhammer 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 Bouwhuis b86f3be510
Optmize timing excecutor timeout test (#103276) 2023-11-02 20:00:34 -05:00
Abílio Costa 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ário e7db0bf34d
add library logger info on ecoforest integration manifest (#103274) 2023-11-02 23:32:46 +01:00
Jan-Philipp Benecke 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 Koston f15fb6cf5e
Reduce overhead to run event triggers (#103172) 2023-11-02 15:48:32 -05:00
J. Nick Koston 45f5c21402
Speed up websocket and ingress with aiohttp-zlib-ng (#103247) 2023-11-02 15:18:12 -05:00
Álvaro Fernández Rojas 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 Garwood b12d99bd2b
Bump pyenphase to 1.14.1 (#103239) 2023-11-02 15:46:58 -04:00
rappenze 4c3c86511b
Fix fibaro event handling (#103199) 2023-11-02 18:07:35 +01:00
Joakim Plate 194a799b0a
Remove measurement flag from timestamp in gardena bluetooth (#103245)
Remove measurement flag from timestamp
2023-11-02 16:47:33 +01:00
Joost Lekkerkerker 401bb90215
Use shorthand attributes in Random (#103206) 2023-11-02 14:40:27 +01:00
Joost Lekkerkerker a0741c74b2
Remove icon in Random (#103235) 2023-11-02 13:18:13 +01:00
Denis Shulyaka 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 Bouwhuis 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
Allen Porter 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 Alphart 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
Luke Lashley 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
Xitee f05d2eb261
Fix roomba error if battery stats are not available (#103196) 2023-11-01 21:12:57 +01:00
Xitee 135944b6f0
Fix roomba translation key mismatch (#103191) 2023-11-01 20:15:18 +01:00
Jan-Philipp Benecke 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 Benecke 56b4369f44
Add MAC address to bsblan device info (#103180) 2023-11-01 17:53:40 +01:00
J. Nick Koston 12c5aec5e6
Add bluetooth address to august (#103177) 2023-11-01 10:47:56 -05:00
Jan-Philipp Benecke ebee51a794
Add MAC address to roborock device info (#103175) 2023-11-01 10:28:03 -05:00
Jan-Philipp Benecke e48cb909f4
Use shorthand device info attribute for roomba (#103176) 2023-11-01 10:27:51 -05:00