Commit Graph
114151 Commits
Author SHA1 Message Date
Franck Nijhof 6524dd8fb7 Add support for expanding zones in templates (#69793) 2022-04-11 12:59:45 +02:00
Franck Nijhof a1fddc3c4d Merge pull request #69835 from home-assistant/rc 2022.4.2 2022-04-11 11:02:51 +02:00
Raman GuptaandErik Montnemery b325c112b4 Add SelectorType enum and TypedDicts for each selector's data (#68399)
* rebase off current

* rearrange

* Overload selector function

* Update/fix all selector references

* better typing?

* remove extra option

* move things around

* Switch to Sequence type to avoid ignoring mypy error

* Get rid of ...'s

* Improve typing to reduce number of ignores

* Remove all typing ignores

* Make config optional for selectors that don't need a config

* add missing unit prefixes

* Rename TypedDicts

* Update homeassistant/helpers/selector.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* review feedback

* remove peta from integration integration

* Fix min_max

* Revert change to selector function

* Fix logic

* Add typing for selector classes

* Update selector.py

* Fix indent

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
Robert Svensson e996142592 Improve typing of deCONZ gateway (#69459)
* Improve typing of deCONZ gateway
* Fix review comments
2022-04-11 09:13:25 +02:00
Franck NijhofandPaulus Schoutsen 800bf926aa Add attribute to zone indicating persons in zone (#69767)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-10 23:36:40 -07:00
Dave T f6aead6773 Don't test config on yaml import for generic camera (#69714) 2022-04-10 23:15:04 -07:00
Paulus Schoutsen 2fad42ce06 Bumped version to 2022.4.2 2022-04-10 22:59:28 -07:00
J. Nick Koston 3e92659260 Downgrade av to 8.1.0 to fix memory leak (#69833) 2022-04-10 22:59:22 -07:00
jjlawren 02eec73644 Retry on more Plex connection failures during startup (#69822) 2022-04-10 22:59:21 -07:00
jjlawren 8e3e6efb21 Speed up Plex playback for multiple videos (#69821) 2022-04-10 22:59:20 -07:00
Raman Gupta 5d4c1d9fe4 Reduce API limit for tomorrow.io (#69818) 2022-04-10 22:59:20 -07:00
rikroeandrikroe 2871ac4f8f Fix converting (value, unit) tuples if value is None (#69802)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-10 22:59:19 -07:00
Michael Davie 506f8c1d94 Bump slixmpp to 1.8.2 (#69794) 2022-04-10 22:59:18 -07:00
Allen Porter 5c4df657b2 Bump rtsp-to-webrtc to 0.5.1 (#69776) 2022-04-10 22:59:17 -07:00
Allen PorterandMartin Hjelmare 16a1a93332 Handle expired credentials in reauth in google calendar initialization (#69772)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 22:59:16 -07:00
Maximilian 7c06514bb4 Upgrade pynina to 0.1.8 (#69771) 2022-04-10 22:59:15 -07:00
Christopher Bailey 0ebd9e093d Fix unifiprotect for 2.0.0-beta2 of UniFi Protect (#69762) 2022-04-10 22:59:15 -07:00
Mike Fugate d9253fd310 Fix SleepIQ firmness number step and min values (#69757)
* fix sleepiq firmness number step and min values

* add asserts for min/max/step attributes
2022-04-10 22:59:14 -07:00
Malte Franken 0d7cbb8266 Bump aio_georss_gdacs to 0.7 (#69743) 2022-04-10 22:59:13 -07:00
J. Nick Koston 2ca8a0ef4a Increase tplink effects random seed allowed range to 1-600 (#69725)
* Increase tplink effects random seed allowed range to 1-600

Reported https://community.home-assistant.io/t/tp-link-integration-support-for-kl430-led-light-strip/190635/62?u=bdraco

* cover
2022-04-10 22:59:13 -07:00
Dave T 2c48f28f13 Support webp still image format in generic camera (#69718) 2022-04-10 22:59:12 -07:00
Allen PorterandMartin Hjelmare 2298a1fa70 Refresh google calendar tokens with invalid expiration times (#69679)
* Refresh google calendar tokens with invalid expiration times

* Update tests/components/google/conftest.py

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

* Remove unnecessary async methods in functions being touched already

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 22:59:11 -07:00
Shay Levy 87ba8a56ee Fix Shelly gen2 cover unavailable when not calibrated (#69671) 2022-04-10 22:59:10 -07:00
Francois ChagnonandMartin Hjelmare 39e4d3e63b Add None guard for zwave_js humidifier entity (#69667)
* Add None guard for humidifier entity is_on

* Add guards in more places

* Update homeassistant/components/zwave_js/humidifier.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 22:59:10 -07:00
epenet 269405aee0 Suppress Upnp parsing errors in SamsungTV (#69664) 2022-04-10 22:59:09 -07:00
KNXBroker b1eda25ca3 Fix soundtouch service calls (#69655) 2022-04-10 22:59:08 -07:00
epenetandJ. Nick Koston 39e9270b79 Fix upnp subscription in SamsungTV (#69652)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-10 22:59:07 -07:00
starkillerOG 5a408d4083 Fix Netgear switch state update (#69597) 2022-04-10 22:59:07 -07:00
azrdev 509d6ffcb2 Update python-mpd2 to 3.0.5 (#69304) 2022-04-10 22:59:06 -07:00
J. Nick Koston 32a10648a5 Downgrade av to 8.1.0 to fix memory leak (#69833) 2022-04-10 22:58:30 -07:00
jjlawren 200ef847c9 Speed up Plex playback for multiple videos (#69821) 2022-04-10 22:29:43 -07:00
jjlawren 016f67b855 Retry on more Plex connection failures during startup (#69822) 2022-04-10 22:25:19 -07:00
ollo69 bc2ba8e1c8 Add missing type declaration to AsusWrt Scanner Entity (#69773) 2022-04-10 14:28:12 -07:00
Daniel Hjelseth Høyer 801b0b55a8 Update Tibber library (#69807) 2022-04-10 14:17:21 -07:00
Raman Gupta 9b49deea5e Reduce API limit for tomorrow.io (#69818) 2022-04-10 14:07:28 -07:00
Franck Nijhof 287edf9ac0 Fix area name unchanged gets written (#69813) 2022-04-11 00:03:01 +03:00
Allen PorterandMartin Hjelmare f99b6004ea Cleanup calendar APIs and introduce a dataclass for representing events (#68843)
* Introduce data class to hold calendar event data

* Rename CalendarEventDevice to CalendarEntity

* Apply suggestions from code review

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

* Fix docstring on google calendar api conversion function.

* Update todoist to new calendar enttiy api, tested manually

* Add back old API for a legacy compatibility layer

* Add deprecation warning for old calendar APIs

* Fix deprecation warning

* Fix merge for missing summary #69520

* Add mypy typing for newly introduced classes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
Michael Davie c98d120ba0 Bump slixmpp to 1.8.2 (#69794) 2022-04-10 20:57:56 +03:00
Diogo GomesandShay Levy 8fe9e364e1 Update integration Riemann sum to use _attr* (#69769)
* move to _attr

* improve debug

* review comment

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-10 20:09:33 +03:00
rikroeandrikroe 8b2774e082 Fix converting (value, unit) tuples if value is None (#69802)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-10 19:40:03 +03:00
Robert Svensson 3373938cdb Improve typing of deCONZ events (#69478) 2022-04-10 17:18:37 +02:00
Maximilian 987823ea97 Upgrade pynina to 0.1.8 (#69771) 2022-04-10 17:07:22 +03:00
Matthias AlphartandMarvin Wichmann b3d1574a71 Refactor KNX config flow and validate user input (#69698)
* validate config flow user input

* test flow for invalid user input

* validate multicast address blocks

* Update homeassistant/components/knx/config_flow.py

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
2022-04-10 15:56:45 +02:00
Michael 4853ce208f Move constants into corresponding platforms in Synology DSM (#69752)
* move sensor related constants

* move switch related constants

* move binary sensor related constants
2022-04-10 16:45:58 +03:00
Robert Svensson e44d34018e Improve typing of deCONZ services (#69444) 2022-04-10 15:24:28 +02:00
azrdev afd21e4084 Update python-mpd2 to 3.0.5 (#69304) 2022-04-10 14:16:23 +02:00
Malte Franken 0606f4d18f Bump aio_georss_gdacs to 0.7 (#69743) 2022-04-10 11:36:35 +02:00
Allen PorterandMartin Hjelmare a063f55c82 Handle expired credentials in reauth in google calendar initialization (#69772)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 23:01:48 -07:00
Allen Porter 60681a3800 Bump rtsp-to-webrtc to 0.5.1 (#69776) 2022-04-09 22:41:18 -07:00
starkillerOG f579c6d982 Fix Netgear switch state update (#69597) 2022-04-09 22:40:48 -07:00