1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
Commit Graph

44072 Commits

Author SHA1 Message Date
J. Nick Koston
96aa623d2a Add discovery support to steamist (#63707) 2022-01-09 10:34:50 -10:00
J. Nick Koston
0efdc7fa65 Additional SenseME cleanups (#63748)
* Additional SenseME cleanups

* drop the super as its no longer needed

* one more
2022-01-09 19:48:54 +01:00
Brandon Rothweiler
8915b73f72 Use SensorEntityDescription in Mazda integration (#63423)
* Use SensorEntityDescription in Mazda integration

* Change lambdas to functions

* Minor fixes

* Address review comments
2022-01-09 16:46:18 +01:00
Korn
eb50de5baa Bump WazeRouteCalculator to 0.14 (#63718) 2022-01-09 15:29:06 +01:00
Daniel Hjelseth Høyer
0e0ef0aa17 Tibber cost statistics (#63626)
* Tibber cost statistics

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber cost statistics

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* unit

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* unit

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update homeassistant/components/tibber/sensor.py

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

* Update homeassistant/components/tibber/sensor.py

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

* break lines

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-09 12:20:53 +01:00
starkillerOG
1d24fb7ad9 Fix Netgear used method version (#63686)
* Netgear fix used method version

* add error message

* fix imports

* fix black

* fix error mess

* rename const
2022-01-09 11:27:42 +01:00
Jonathan Keljo
6c6607b5be Improve multi-device test coverage for greeneye_monitor (#63657) 2022-01-09 01:44:18 -06:00
Jonathan Keljo
15f1a850ba Eliminate redundant code in greeneye_monitor (#63661) 2022-01-09 01:24:16 -06:00
Marc Mueller
4d3f70ad05 Use Platform enum (#63577) 2022-01-09 07:57:51 +01:00
J. Nick Koston
8e0b124875 Add binary_sensor platform to SenseME (#63660) 2022-01-08 19:52:51 -10:00
epenet
34a967c48a Explicitely allow Platform enum in config_entries (#63581)
* Explicitely allow Platform enum in config_entries

* Undo argument name change and conversion to string

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-09 06:08:04 +01:00
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