Commit Graph

50493 Commits (91df2db9e012d81b382623f171caddde24dd73f0)

Author SHA1 Message Date
Shawn Saenger 1d57626ff0
Incorporate various improvements for the ws66i integration (#71717)
* Improve readability and remove unused code

* Remove ws66i custom services. Scenes can be used instead.

* Unmute WS66i Zone when volume changes

* Raise CannotConnect instead of ConnectionError in validation method

* Move _verify_connection() method to module level
2022-05-29 18:33:33 +02:00
Raman Gupta 5031c3c8b4
Fix zwave_js custom trigger validation bug (#72656)
* Fix zwave_js custom trigger validation bug

* update comments

* Switch to ValueError

* Switch to ValueError
2022-05-29 18:30:00 +02:00
Raman Gupta 92be8b4f8e
Make tomorrowio API rate limit handling more robust (#70412)
* Use the max request limit when setting tomorrowio update interval

* tests

* reduce lines

* simplify

* refactor

* Make Coordinator.async_setup_entry more efficient at determining when to refresh data and schedule refresh

* clean up

* clean up

* Remove unnecessary type definition

* typo

* fix logic ot be more deterministic

* Another fix

* Comment

* Reduce wasted API calls by doing partial updates when new entries get added with a new key

* Simplify and use asyncio event so that config entries only load after initial coordinator refresh

* Remove commented out piece

* Comment

* Remove unnecessary variable

* More cleanup

* Make future merge easier

* remove dupe

* switch order

* add comment

* Remove unnecessary error handling

* make code easier to read

* review feedback for code

* Fix logic

* Update test based on review

* Tweak comments

* reset mock so asertions are more clear

* Remove update interval check
2022-05-29 18:29:21 +02:00
J. Nick Koston 237ef6419b
Add basic typing to emulated_hue (#72663)
* Add basic typing to emulated_hue

* type a few more places

* fixes

* numbers are always stringified

* numbers are always stringified

* coverage

* drop assert
2022-05-29 18:27:32 +02:00
shbatm d603952872
Check ISY994 climate for unknown humidity on Z-Wave Thermostat (#72670) 2022-05-29 06:00:18 -10:00
Khole d59ecc4c96
Refactor hive entity (#72311)
* Add hive category entity changes

* Updates based on PR feedback

* Revert libary bump

* Update after PR feedback

* Update Binary device class for smoke sensor

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

* Remove entity category

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

* Updates after PR review

* Remove unused import

* Update light based on PR feedback

* Update light code from PR review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-29 12:08:50 +02:00
Paulus Schoutsen da62e2cc23 Bumped version to 2022.6.0b3 2022-05-28 20:46:51 -07:00
Michael b360f0280b Manage stations via integrations configuration in Tankerkoenig (#72654) 2022-05-28 20:46:36 -07:00
rikroe 50eaf2f475 Bump bimmer_connected to 0.9.2 (#72653)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-05-28 20:46:35 -07:00
J. Nick Koston bd222a1fe0 Prevent config entries from being reloaded concurrently (#72636)
* Prevent config entries being reloaded concurrently

- Fixes Config entry has already been setup when
  two places try to reload the config entry at the
  same time.

- This comes up quite a bit:
  https://github.com/home-assistant/core/issues?q=is%3Aissue+sort%3Aupdated-desc+%22Config+entry+has+already+been+setup%22+is%3Aclosed

* Make sure plex creates mocks in the event loop

* drop reload_lock, already inherits
2022-05-28 20:46:34 -07:00
Joakim Sørensen 3a06b5f320 Bump awesomeversion from 22.5.1 to 22.5.2 (#72624) 2022-05-28 20:46:12 -07:00
J. Nick Koston c45dc49270 Escape % and _ in history/logbook entity_globs, and use ? as _ (#72623)
Co-authored-by: pyos <pyos100500@gmail.com>
2022-05-28 20:45:14 -07:00
Allen Porter 301f7647d1 Defer google calendar integration reload to a task to avoid races of reload during setup (#72608) 2022-05-28 20:45:13 -07:00
Allen Porter 79340f85d2 Don't import google calendar user pref for disabling new entities (#72652) 2022-05-28 20:44:50 -07:00
Paulus Schoutsen afcc8679dd Handle OAuth2 rejection (#72040) 2022-05-28 20:43:48 -07:00
Allen Porter e7e48cd9f6
Defer google calendar integration reload to a task to avoid races of reload during setup (#72608) 2022-05-28 20:28:22 -07:00
Paulus Schoutsen 6a3d2e54a2
Handle OAuth2 rejection (#72040) 2022-05-28 20:23:16 -07:00
J. Nick Koston 7d391846ff
Retry right away on discovery for WiZ (#72659) 2022-05-28 16:38:38 -10:00
Chris Talkington 46031aff8d
Avoid swallowing Roku errors (#72517) 2022-05-28 21:03:13 -05:00
GitHub Action 7a0657c386 [ci skip] Translation update 2022-05-29 00:23:25 +00:00
G Johansson 24c34c0ef0
Strict typing Sensibo (#72454) 2022-05-28 13:26:50 -10:00
Michael a4f678e7c9
Manage stations via integrations configuration in Tankerkoenig (#72654) 2022-05-28 13:31:03 -07:00
Allen Porter a598cdfeb3
Don't import google calendar user pref for disabling new entities (#72652) 2022-05-28 12:51:40 -07:00
J. Nick Koston e0614953a2
Add support for async_remove_config_entry_device to homekit_controller (#72630) 2022-05-28 09:47:14 -10:00
rikroe 233f086853
Bump bimmer_connected to 0.9.2 (#72653)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-05-28 20:55:50 +03:00
J. Nick Koston 4a5679db08
Prevent config entries from being reloaded concurrently (#72636)
* Prevent config entries being reloaded concurrently

- Fixes Config entry has already been setup when
  two places try to reload the config entry at the
  same time.

- This comes up quite a bit:
  https://github.com/home-assistant/core/issues?q=is%3Aissue+sort%3Aupdated-desc+%22Config+entry+has+already+been+setup%22+is%3Aclosed

* Make sure plex creates mocks in the event loop

* drop reload_lock, already inherits
2022-05-28 10:49:55 +02:00
GitHub Action 327c6964e2 [ci skip] Translation update 2022-05-28 00:24:05 +00:00
J. Nick Koston a43d47fa0b
Escape % and _ in history/logbook entity_globs, and use ? as _ (#72623)
Co-authored-by: pyos <pyos100500@gmail.com>
2022-05-27 14:38:29 -07:00
Joakim Sørensen 9fe4aef4bc
Bump awesomeversion from 22.5.1 to 22.5.2 (#72624) 2022-05-27 14:37:19 -07:00
Paulus Schoutsen e974a432aa Bumped version to 2022.6.0b2 2022-05-27 11:38:00 -07:00
J. Nick Koston 13f953f49d Add explict type casts for postgresql filters (#72615) 2022-05-27 11:36:44 -07:00
Aaron Bach 38c085f869 Bump regenmaschine to 2022.05.0 (#72613) 2022-05-27 11:36:43 -07:00
J. Nick Koston 2e2fa208a8 Fix recorder system health when the db_url is lacking a hostname (#72612) 2022-05-27 11:36:42 -07:00
Paulus Schoutsen 07c7081ade Revert "Add service entity context (#71558)" (#72610) 2022-05-27 11:36:42 -07:00
xLarry 27908af61e Bump laundrify_aio to v1.1.2 (#72605) 2022-05-27 11:36:41 -07:00
Erik Montnemery 087c0b59ed Update integrations to pass target player when resolving media (#72597) 2022-05-27 11:36:40 -07:00
Erik Montnemery ad65295201 Require passing target player when resolving media (#72593) 2022-05-27 11:36:39 -07:00
Erik Montnemery cc53ad12b3 Simplify MQTT PLATFORM_CONFIG_SCHEMA_BASE (#72589) 2022-05-27 11:36:39 -07:00
J. Nick Koston 319275bbbd Revert "Remove sqlite 3.34.1 downgrade workaround by reverting "Downgrade sqlite-libs on docker image (#55591)" (#72342)" (#72578) 2022-05-27 11:36:38 -07:00
Allen Porter a35edc6751 Reduce the scope of the google calendar track deprecation (#72575) 2022-05-27 11:36:37 -07:00
uvjustin 0d03b85029 Bump httpx to 0.23.0 (#72573)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-27 11:36:05 -07:00
J. Nick Koston 9b779082d5 Fix memory leak when firing state_changed events (#72571) 2022-05-27 11:33:40 -07:00
Joakim Plate 828afd8c05 fjaraskupan: Don't set hardware filters for service id (#72569) 2022-05-27 11:33:39 -07:00
Paulus Schoutsen bd02c9e5b3 Attach SSL context to SMTP notify and IMAP sensor (#72568) 2022-05-27 11:33:38 -07:00
Bram Kragten 16ab7f2bb1 Update frontend to 20220526.0 (#72567) 2022-05-27 11:33:37 -07:00
Paulus Schoutsen f8e300ffbe Include provider type in auth token response (#72560) 2022-05-27 11:33:37 -07:00
Raman Gupta 370e4c53f3 Add logbook entries for zwave_js events (#72508)
* Add logbook entries for zwave_js events

* Fix test

* Update homeassistant/components/zwave_js/logbook.py

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

* Update homeassistant/components/zwave_js/logbook.py

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

* Update homeassistant/components/zwave_js/logbook.py

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

* Update homeassistant/components/zwave_js/logbook.py

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

* black

* Remove value updated event

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-27 11:33:36 -07:00
J. Nick Koston 34323ce645
Add explict type casts for postgresql filters (#72615) 2022-05-27 08:11:33 -10:00
Aaron Bach ea1e40a424
Bump regenmaschine to 2022.05.0 (#72613) 2022-05-27 10:32:38 -07:00
J. Nick Koston 040e120101
Fix recorder system health when the db_url is lacking a hostname (#72612) 2022-05-27 10:32:26 -07:00