Commit Graph

44061 Commits (665eeb4b27271dea1b82d34ac9863fbfe8d9e526)

Author SHA1 Message Date
epenet 665eeb4b27
Explicitely allow Platform enum in discovery helper (#63571)
* Adjust Platform type hint in discovery helper

* Adjust amcrest

* Adjust comfoconnect

* Adjust ecovacs

* Adjust egardia

* Rename arguments

* Convert Platform enum to string explicitely

* Revert "Adjust egardia"

This reverts commit ff7b0d6100.

* Revert "Adjust ecovacs"

This reverts commit 2749045e13.

* Revert "Adjust comfoconnect"

This reverts commit bfff08f7fc.

* Undo argument name change and conversion to string

* Remove comment

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-09 06:06:56 +01:00
Marc Mueller 89859aad8d
Fix ParamSpec Callable return types (#63701) 2022-01-09 06:03:18 +01:00
J. Nick Koston 37285194f8
Bump flux_led to 0.27.44 to fix CCT ceiling lights (#63712)
- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.27.42...0.27.44

- The library was incorrectly speaking the older protocol
  to these devices when it needed to speak the newer CCT one
2022-01-08 22:27:31 -06:00
Shay Levy 1f92c25b8c
Remove package constraint to websockets (#63703) 2022-01-09 05:04:19 +01:00
GitHub Action a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
Christopher Bailey dec22aa510
Use MediaPlayerDeviceClass for UniFi Protect media_player (#63708) 2022-01-08 14:06:00 -10:00
Christopher Bailey 0232021f5c
Add UniFi Protect camera motion sensors and ThumbnailProxyView (#63696) 2022-01-08 13:51:49 -10:00
Franck Nijhof 71208b2ebb
Replace custom Tuya device classes with StrEnum (#63681) 2022-01-09 00:44:27 +02:00
Simone Chemelli e6419fd505
Fritz: small optimization (#63693)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Small optimization
2022-01-09 00:39:51 +02:00
Simone Chemelli e3c793718c
Add button and deprecate service for Fritz cleanup (#63692)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Add cleanup button

* Wrong commit

* Add service deprecation warning
2022-01-09 00:38:28 +02:00
Leah Oswald ec508130d2
Add default mode 'auto' for tradfri starkvind air purifier on turn on (#63641)
* add default mode 'auto' for tradfri starkvind air purifier on turn on

This commits fixes the behaviour described in #60122 (purifier couldn't be
started via toggle switch). It adds 'auto' as default mode/fallback for
turning on the starkvind air purifier. This is now the same behaviour the
original app provides.

* Refactor code that set 'auto' as default value for tradfri starkvind on
turn on
2022-01-08 21:01:54 +01:00
Marc Mueller 8c51303332
Use Platform enum [mysensors] (#63687) 2022-01-08 20:55:24 +01:00
micha91 073a080bb2
Fix the unregistration of Capability based MusicCast Entities (#63665) 2022-01-08 12:42:40 -06:00
Jonathan Keljo a754584284
Move greeneye_monitor constants into their own file (#63659) 2022-01-08 12:32:24 -06:00
Simone Chemelli 38244dd245
Fritz cleanup: part2 (triggers for button/service) (#63564)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fritz cleanup: part2 (triggers for button/service)

* Remove commit

* Fix func overlapping

* Apply review comments

* Remove too early warning

* Missing wrapping
2022-01-08 19:23:12 +01:00
Christopher Bailey 8860549ef2
Minor bugfixes for UniFi Protect (#63475) 2022-01-08 06:49:55 -10:00
Franck Nijhof 51754f796b
Improve typing of Steamist sensors (#63674) 2022-01-08 06:47:57 -10:00
Joakim Sørensen fa15f91dbf
Bump awesomeversion to 22.1.0 (#63676) 2022-01-08 16:25:13 +01:00
Marc Mueller eb2238a9e1
Add types for HassJob [helpers.event] (#63675) 2022-01-08 14:26:22 +01:00
Marc Mueller e74d7b22f3
Bump mypy to 0.931 (#63673) 2022-01-08 14:10:16 +01:00
Franck Nijhof 80a4ec82b4
Deprecate Media Player Classic Home Cinema (ADR-0004) (#63598) 2022-01-08 13:41:22 +01:00
Raman Gupta 9e4e43cf77
Handle zwave_js metadata/value updates when the unit changes (#63579)
* Handle zwave_js metadata updates when the unit changes

* Use value updated event instead of metadata updated event so we don't get an invalid state value

* update comments and formatting

* simplify

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* fix tests

* add additional assertions

* Add unit checks and simplify logic

* Add unit assertion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-08 13:23:29 +01:00
Andreas Oberritter b55b802aeb
Use device registry in aten_pe (#61906) 2022-01-08 13:04:53 +01:00
RenierM26 e3848944e8
Switchbot Set initial state for switch (#63654) 2022-01-08 12:58:31 +01:00
Daniel Hjelseth Høyer 039507c86a
Update pyTibber to 0.21.7 (#63663) 2022-01-08 12:56:33 +01:00
Andreas Oberritter 798eb77110
Bump pysml to 0.0.6 (#63664) 2022-01-08 12:54:31 +01:00
Simon Hansen 3f1d5ac7fc
Bump pylaunches to 1.2.1 (#63667) 2022-01-08 12:51:31 +01:00
Simon Hansen b22a9b8669
Refactor Launch Library to use config flow (#62416)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-08 11:47:16 +01:00
Mick Vleeshouwer b4187540c0
Improve typing for Overkiz integration and address late feedback (#63483)
* Bump pyoverkiz to 1.0.2

* Remove cast for str enum.

* Address feedback on coordinator

* Change datatype to Callable

* Address feedback

* Move scenarios to seperate list

* Cast Device to avoid issues with DataUpdateCoordinator default

* Remove unnecessary casts and improve type notation

* Check if state.value exists

* Fix last mypy error (thanks @epenet)

* Remove extra string cast

* Improve sensor typing

* Update pyoverkiz and remove typing

* Small code improvement

* Fix assert to reflect real world

* Properly type Callable to not return Any

* Remove unnecessary cast

* Add OverkizStateType

* Bugfix

* Address feedback - multiline lambda

* Pylint fix

* Remove added binary sensor
2022-01-08 10:53:15 +01:00
J. Nick Koston 943aaaeb3f
Add SenseME integration (#62909)
Co-authored-by: Big Mike <mikelawrence@users.noreply.github.com>
2022-01-07 22:53:05 -10:00
J. Nick Koston 509ddc84a5
Add support for managing 2.4G remotes in flux_led (#63646) 2022-01-07 21:26:10 -10:00
J. Nick Koston ba402237c2
Add temp and minutes remaining sensors to steamist (#63653) 2022-01-07 21:02:12 -10:00
J. Nick Koston 9dd09f66e2
Ensure selected entity is pre-selected in homekit options flow (#63628)
* Ensure selected entity is pre-selected in homekit options flow

- We recently adjusted the flow to exclude entities that had
  been deleted from breaking the UI validation. We need to include
  single entities in the set of all supported entities since
  accessory mode has no domain filter

* tweak

* Additional fixes

* small tweak to speed up building the set

* merged fixed version for test branch
2022-01-07 17:46:39 -08:00
J. Nick Koston 0b67d7fb28
Bump flux_led to 0.27.42 (#63651)
- Fixes RGB/WW/CW controller operating mode not being detected after
  a factory reset.

- When the device is factory reset or setup for the first time the operating
  mode is reported as 0 and its expected the user will set it in the
  Magic Home app. If they skip that step Home Assistant will never be able
  to figure out which operating mode the device is using and the CW and WW
  channels will not work.

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.27.41...0.27.42
2022-01-07 17:45:39 -08:00
Franck Nijhof 146e1c5eb5
Revert "Update Numpy to 1.22.0 (#63559)" (#63648)
This reverts commit d8e1e1396c.
2022-01-07 17:11:39 -08:00
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
Artem Draft 3df2ab709a
Bump pylgnetcast to 0.3.7 (#63645) 2022-01-08 01:06:49 +01:00
J. Nick Koston aee412f60b
Bump flux_led to 0.27.41 (#63638) 2022-01-07 22:43:42 +01:00
Franck Nijhof 6d2fc38f58
Update youtube_dl to 2021.12.17 (#63592) 2022-01-07 20:27:35 +01:00
J. Nick Koston 945477a482
Fix KeyError during call to homekit.unpair (#63627) 2022-01-07 19:47:14 +01:00
Paulus Schoutsen 1ea3a17d89
Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
Franck Nijhof 3f7275a9c7
Give scenes last activated state (#62673) 2022-01-07 19:02:32 +01:00
Jacek Kończewski e03283292b
Add new TRV Beca and proper Presets with new one Temporary Manual (#60337) 2022-01-07 18:52:41 +01:00
Glenn Waters 128433758e
Add SensorEntityClass support for Environment Canada integration (#58615) 2022-01-07 18:28:13 +01:00
Phil Cole 9ef1033152
Use entities instead of devices for nissan leaf (#63542) 2022-01-07 17:54:37 +01:00
Kevin Stillhammer 397538fd1a
Use find_coordinates in google_travel_time (#61423) 2022-01-07 17:45:29 +01:00
Erik Montnemery fc2025509e
Teach call service script action about entity registry ids (#61172) 2022-01-07 08:42:47 -08:00
Diogo Gomes d5d8eefded
Case sensitive SQL queries checks (#62752) 2022-01-07 17:19:30 +01:00
Daniel Hjelseth Høyer 04796c4410
Add missing `last_rest` in Tibber (#61914) 2022-01-07 16:57:52 +01:00
epenet f3af0781f8
Add setup type hints [f-g] (#63599)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:48:54 +01:00