Commit graph

11968 commits

Author SHA1 Message Date
J. Nick Koston
ad1241a116
Fix missing patching of homekit matchers in zeroconf tests (#70141) 2022-04-16 16:41:10 +02:00
Thomas Lovén
7cc799becf
Fix setup failure tests failing for the wrong reason (#70144) 2022-04-16 11:59:38 +02:00
Raman Gupta
7c875bf658
Correct tomorrowio weather units (#70107) 2022-04-15 23:20:54 +03:00
Paulus Schoutsen
5f6a970826
Bump pyevilgenius to 2.0.0 (#70074)
* Bump pyevilgenius to 2.0.0

* Fix tests
2022-04-15 20:54:20 +03:00
J. Nick Koston
03c91dad78
Fix missing title placeholders during unifiprotect reauth (#70067) 2022-04-15 07:31:50 -10:00
Franck Nijhof
1b48d7eda1
Add for each item support to repeat action (#70093) 2022-04-15 19:10:25 +02:00
Franck Nijhof
e04fef3c2d
Allow disabling specific triggers/actions/conditions (#70082) 2022-04-15 09:33:09 -07:00
Joakim Sørensen
ae9315aa29
Limit Supervisor refresh updates (#70075) 2022-04-15 09:31:02 -07:00
J. Nick Koston
89807f0d2d
Reduce the number of queries needed to compile statistics (#69731)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-15 09:13:29 -07:00
Álvaro Fernández Rojas
abea7d3245
airzone: implement turn on/off (#70095)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-15 16:13:59 +03:00
Milan Meulemans
c932407560
Add SENZ OAuth2 integration (#61233) 2022-04-14 15:29:31 -07:00
J. Nick Koston
c85387290a
Increase recorder queue max backlog to 40k, improve message (#70065) 2022-04-14 11:45:07 -10:00
Álvaro Fernández Rojas
459d775ad5
Update aioairzone to v0.3.8 (#70060) 2022-04-14 10:59:14 -10:00
Franck Nijhof
cdabcce83a
Add ability to continue scripts/automations on error (#70004) 2022-04-14 13:43:14 -07:00
Robert Svensson
87551b7880
Improve typing of deCONZ climate platform (#69882)
* Improve typing of deCONZ climate platform

homeassistant/components/deconz/climate.py:153: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str"  [dict-item]
homeassistant/components/deconz/climate.py:154: error: Dict entry 1 has incompatible type "str": "bool"; expected "str": "str"  [dict-item]
homeassistant/components/deconz/climate.py:176: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'low', 'medium', 'high', 'on', 'auto', 'smart']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:200: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'auto', 'cool', 'heat', 'emergency heating', 'precooling', 'fan only', 'dry', 'sleep']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[int]"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[bool]"  [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[List[str]]"  [arg-type]
homeassistant/components/deconz/climate.py:225: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['holiday', 'auto', 'manual', 'comfort', 'eco', 'boost', 'complex']]"; expected "str"  [arg-type]
homeassistant/components/deconz/climate.py:244: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:250: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:253: error: Unused "type: ignore" comment

* Simplify populating supported_hvac_modes
Fix tests
2022-04-14 23:19:42 +03:00
Paulus Schoutsen
a5134d9ba2
Check supported features in media player reproduce state (#70055) 2022-04-14 12:44:41 -07:00
Raman Gupta
60ac53374b
Fix tomorrow.io units... again... (#70029) 2022-04-14 09:58:16 -07:00
J. Nick Koston
c73cf2cf50
Fix race during homekit controller pairing (#69948) 2022-04-14 09:57:36 -07:00
Allen Porter
36bb947cdf
Fix bug in google calendar offset calculation (#70024)
Move the offset reached computation outside of the update method so that it is
computed when state updates occur rather than when data refreshes happen (which
are throttled and happen at most every 15 minutes).

Issue #69892
2022-04-13 19:04:59 -07:00
Diogo Gomes
8e64ae8478
Add unique_id to utility_meter sensors (#68596)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-13 23:58:15 +02:00
Shay Levy
d4d819679c
Add Shelly gen2 authentication support (#69753) 2022-04-14 00:30:03 +03:00
Maciej Bieniek
7edbe66b26
Add diagnostics platform for GIOS integration (#69918)
* Add diagnostics platform

* Fix fixture data
2022-04-14 00:12:56 +03:00
Michael Chisholm
37bf504828
Fix config_flow error for UPnP info with single service (#69979) 2022-04-13 10:53:04 -10:00
Franck Nijhof
d704d4f853
Add parallel automation/script actions (#69903) 2022-04-13 13:07:44 -07:00
Maciej Bieniek
74e9c050af
Add diagnostics platform for Airly integration (#69874)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-04-13 19:22:37 +02:00
Diogo Gomes
fa28ee1f14
Remove deprecated unit configuration option from integration integration (#69157) 2022-04-13 19:19:34 +02:00
Álvaro Fernández Rojas
c76b21e24e
Support specifying Airzone System ID (#69751) 2022-04-13 19:12:21 +02:00
Michael Chisholm
4e57b1b118
Fix config_flow error from dlna_dmr for UPnP discovery info containing a single service (#69977) 2022-04-13 19:04:03 +02:00
J. Nick Koston
ad5d7a845b
Fix HomeKit Controller device class for CO Sensors (#69949) 2022-04-13 07:50:56 +02:00
Paulus Schoutsen
f6a3598070
Guard against non http schemes (#69938) 2022-04-12 15:27:20 -07:00
Franck Nijhof
fb92fc6a8e
Trigger on not matching to/from states (#69760) 2022-04-12 14:18:23 -07:00
Steven Looman
0d6d8a17e3
Drop upnp options flow (#69134) 2022-04-12 14:10:54 -07:00
Erik Montnemery
ba07663e7d
Fix adjusting statistics in ft³ (#69913)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-12 14:08:38 -07:00
Erik Montnemery
eb3458a3d2
Add MutexPool for recorder tests (#69410)
* Add MutexPool for recorder tests

* Fix get_schema_version

* Update test test_last_run_was_recently_clean

* Update test test_shutdown_before_startup_finishes

* Revert comments in test_write_lock_db

* Make the MutexPool lock a class variable

* Remove stale comment

* Move MutexPool

* Tweak debug prints
2022-04-12 07:41:46 -10:00
Erik Montnemery
1645ab25a6
Use quickplay when casting splash for mediaplayer.turn_on (#69866) 2022-04-12 10:06:25 -07:00
Erik Montnemery
80ff1ecb2a
Fix adjusting 5-minute statistics (#69921) 2022-04-12 18:10:17 +02:00
Erik Montnemery
a9742cc445
Drop frontend metadata from entity service schemas (#69894) 2022-04-12 18:09:06 +02:00
Franck Nijhof
d1f4b7a3d9
Fix climate HVAC device condition (#69908) 2022-04-12 15:31:59 +02:00
Franck Nijhof
67b200a532
Add if/else automation/script action (#69811)
Co-authored-by: Erik <erik@montnemery.com>
2022-04-12 15:02:17 +02:00
epenet
d8d1e98d4e
Fix unique id in SamsungTV config flow (#69899)
* Fix unique id in SamsungTV config flow

* coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-11 23:37:05 -10:00
Joakim Sørensen
2ebbdf45f8
Handle add-on issues (#69897) 2022-04-12 11:00:55 +02:00
David F. Mulcahey
5f37f58673
Add diagnostics support for ZHA (#69756) 2022-04-11 22:35:29 -07:00
Franck Nijhof
c93c7e8eff
Replace Camera STREAM_ constants with StreamType enum (#69871) 2022-04-11 16:27:27 -07:00
Franck Nijhof
81d90b1bc7
Add stop/error script/automation action (#67340) 2022-04-11 14:22:22 -07:00
Franck Nijhof
7087020283
Allow any entity to match state condition (#69763) 2022-04-11 10:53:42 -07:00
Franck Nijhof
27bc5e1d74
Add ColorMode enum to light platform (#69223) 2022-04-11 18:18:29 +02:00
Marvin Wichmann
3d30a757bf
Update xknx to 0.20.2 (#69853) 2022-04-11 16:51:13 +02:00
Franck Nijhof
6524dd8fb7
Add support for expanding zones in templates (#69793) 2022-04-11 12:59:45 +02:00
Raman Gupta
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
Franck Nijhof
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