Commit graph

59843 commits

Author SHA1 Message Date
epenet
42d90538e4
Use load_json_object in ps4 () 2023-02-22 13:55:44 +01:00
epenet
1278fe1f81
Use load_json_object in nanoleaf ()
* Use load_json_object in nanoleaf

* pretty

* prettier
2023-02-22 13:54:02 +01:00
epenet
79adfbc862
Use load_json_object in tellduslive () 2023-02-22 13:53:00 +01:00
epenet
3c1e62aeef
Improve type hint in zwave_js trigger ()
Imrpove type hint in zwave_js trigger
2023-02-22 13:39:28 +01:00
Erik Montnemery
6d9411b8a1
Improve trigger platform typing ()
* Improve trigger platform typing

* Tweak docstring

* Revert "Tweak docstring"

This reverts commit c31f790fc3.

* Tweak docstring
2023-02-22 11:59:53 +01:00
Martin Hjelmare
33b16d20b1
Clean up tradfri import flow () 2023-02-22 10:53:48 +01:00
Chris Xiao
93c681ae58
Add options flow for met ()
* implement options flow for met

* add tests for met options flow

* fix met options flow tests

* fix met options flow when tracking home
2023-02-22 10:18:58 +01:00
epenet
aa20c902db
Add typed helpers and improve type hints in util/json ()
* Add type hints to load_json

* Adjust ios

* Adjust nest

* Add use of load_json_array

* Add tests

* Adjust test patch

* Add test_load_json_os_error
2023-02-22 10:09:28 +01:00
J. Nick Koston
906d397736
Update homekit to use async_get_integrations () 2023-02-22 09:25:47 +01:00
J. Nick Koston
8806c3dd20
Speed up loading non-english language translations ()
Speed up loading non-english languages

We called async_get_integrations in each gathered task
instead of once for both languages we were loading
2023-02-21 21:18:33 -05:00
J. Nick Koston
e38836b6e1
Update async_matching_config_entries to use async_get_integrations ()
* Update async_matching_config_entries to use async_get_integrations

* Update homeassistant/components/config/config_entries.py

* Update homeassistant/components/config/config_entries.py
2023-02-21 21:17:18 -05:00
J. Nick Koston
5bc0636905
Replace fire_coroutine_threadsafe with asyncio.run_coroutine_threadsafe ()
fire_coroutine_threadsafe did not hold a reference to the asyncio
task which meant the task had the risk of being prematurely
garbage collected
2023-02-21 21:16:18 -05:00
J. Nick Koston
e54eb7e2c8
Switch shell_command to use async_timeout instead of asyncio.wait_for ()
This avoids creating a task every time
2023-02-21 21:11:54 -05:00
J. Nick Koston
cbba0fee42
Bump sqlalchemy to 2.0.4 ()
changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.4
2023-02-21 21:11:16 -05:00
Maciej Bieniek
a54e523731
Bump nettigo-air-monitor to version 2.1.0 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-21 17:41:46 -06:00
Erik Montnemery
356c316b39
Fix stray prints seen inbetween tests () 2023-02-21 17:19:38 -06:00
Erik Montnemery
bfa315be51
Bump hatasmota to 0.6.4 () 2023-02-21 23:38:50 +01:00
J. Nick Koston
ec53c26f90
Constrain faust-cchardet to first version that builds wheels successfully () 2023-02-21 16:32:15 -06:00
J. Nick Koston
93e37243f6
Fix logbook test that failed to exclude EVENT_HOMEASSISTANT_FINAL_WRITE () 2023-02-21 16:22:44 -06:00
Franck Nijhof
3501a9788f
Update entity registry snapshot serializer ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-21 22:37:13 +01:00
Jan Bouwhuis
3f79155df6
Remove deprecated callback support for MQTT subscribe ()
* Remove deprecated callback support and fix tests

* Add note with removal instruction
2023-02-21 22:21:00 +01:00
rhpijnacker
24234a55a5
Bump pyRFXtrx to 0.30.1 () 2023-02-21 21:43:39 +01:00
J. Nick Koston
e6c792deed
Add missing kelvin attributes to light recorder platform () 2023-02-21 14:23:53 -06:00
J. Nick Koston
ff93b7a01c
Restore vulcan integration () 2023-02-21 20:56:36 +01:00
J. Nick Koston
905a0f2eb6
Fix sonos blocking I/O in the event loop () 2023-02-21 13:54:08 -06:00
J. Nick Koston
7929e76ebb
Only build the field_map once in recorder history () 2023-02-21 13:45:05 -06:00
Erik Montnemery
0c4c95394e
Add WS command config/entity_registry/list_for_display ()
* Add WS command config/entity_registry/list_for_display

* Make more keys in the display dict optional

* Move disabled_by check to ws command handler

* Hide hidden_by if not hidden

* Use send_json_auto_id in the new test

* Don't include entities which have no data needed for display

* Include platform for entries with translation_key
2023-02-21 20:40:39 +01:00
Teemu R
a93b4e7197
Use device-native kelvins for tplink color temperature () 2023-02-21 12:52:50 -06:00
Maciej Bieniek
c06420689e
Bump nextdns to version 1.3.0 ()
Bump nextdns
2023-02-21 19:43:40 +01:00
Michael Muré
d14000f704
Add esphome climate quiet fan mode ()
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-21 11:09:41 -06:00
Marc Mueller
77ec6cb879
Update actions/cache to 3.2.6 () 2023-02-21 10:22:21 -06:00
Jc2k
ce1ef1d720
Activate thread integration if thread border routers are present () 2023-02-21 16:22:00 +00:00
Jorgen Evens
4e32b65694
Improve pjlink reliability ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-21 16:48:53 +01:00
Martin Hjelmare
08aae9cccd
Remove tibber monthly cost state class () 2023-02-21 15:39:15 +01:00
J.P. Krauss
b5ead9e76f
Bump pyairnow to 1.2.1 () 2023-02-21 11:09:18 +01:00
epenet
a51cc75f03
Add type hints to core tests (part 2) () 2023-02-21 09:27:13 +01:00
epenet
a102883eff
Add type hints to integration tests (part 2) () 2023-02-21 09:25:05 +01:00
Jan Bouwhuis
ebb450c946
Default hass_config to contain an empty config ()
* Default hass_config to {}

* Correct type hint
2023-02-21 08:48:44 +01:00
mletenay
60ca3b3223
Extract goodwe data update coordinator to a separate module ()
* Extract coordinator to separate module

* Make field protected and replace cast
2023-02-21 08:14:12 +01:00
Raman Gupta
8722f5b42b
Bump zwave-js-server-python to 0.46.0 () 2023-02-21 07:15:55 +01:00
Luke
84763c793d
Support Ecobee climate Aux Heat on/off ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-20 17:56:03 -06:00
Robert Svensson
f0af0e2b42
Bump pydeconz to v108 (catch lingering tasks) () 2023-02-20 17:34:00 -06:00
Kevin Worrel
d54858044c
Disable circuits set as 'Don't Show' in ScreenLogic by default () 2023-02-20 17:30:21 -06:00
J. Nick Koston
4f4defc055
Bump yalexs-ble to 2.0.2 () 2023-02-20 16:25:50 -06:00
J. Nick Koston
8e7081a8ce
Bump pySwitchbot to 0.37.3 () 2023-02-20 16:25:13 -06:00
Robert Svensson
d8f47c0e8c
Bump Axis to v47 (catch lingering tasks) ()
Bump Axis to v47

Primary fix is to catch lingering tasks from create_task

https://github.com/Kane610/axis/compare/v46...v47
2023-02-20 22:58:57 +01:00
Vincent Bédard
2a1e046d46
Increase the maximum value for the transition parameter in the service hue.activate_scene ()
* Increase hue.activate_scene max transition

* Adjust the maximum transition (hue.activate_scene)
2023-02-20 22:54:03 +01:00
Chris Xiao
7a884a9d61
Only do unit conversion of met elevation when set in config entry ()
convert met elevation unit only when it exists in config entry

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-20 22:46:13 +01:00
Erik Montnemery
30ebc6604f
Invert trigger._PLATFORM_ALIASES () 2023-02-20 22:14:41 +01:00
J. Nick Koston
35adb2f7e8
Remove previously deprecated Detected Object from unifiprotect () 2023-02-20 22:14:01 +01:00