Commit Graph

34934 Commits (4f5859c61297f7c0c27f46711ce18e8bda922991)

Author SHA1 Message Date
Daniel Perna f4f1ea4068
Update pyhomematic to 0.1.77 (#63848)
* Update pyhomematic to 0.1.77

* Add HmIP-STE2

* Add HmIPW-SPI
2022-01-11 16:45:33 +01:00
Stefan Agner 0a9927d18e
Avoid locking the database for non-SQLite backends (#63847)
* Avoid locking the database for non-SQLite backends

Currently we only have a lock implementation for SQLite. Just return
success for all other databases as they are not expected to store data
in the config directory and the caller can assume that a backup can
be safely taken.

This fixes `RuntimeError: generator didn't yield` errors when creating
a backup with the current Supervisor dev builds.
2022-01-11 16:17:56 +01:00
epenet f2a6118435
Fix waqi config parsing (#63897)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 15:05:07 +01:00
Franck Nijhof 1c29260a31
Update Pillow to 9.0.0 (#63894) 2022-01-11 14:28:48 +01:00
Erik Montnemery 13abac101b
Drop legacy support for sensor sum statistics (#63884) 2022-01-11 13:59:08 +01:00
Erik Montnemery 3083f059cc
Drop last_reset attribute for non 'total' sensors (#63880)
* Drop last_reset attribute for non 'total' sensors

* Adjust MQTT tests

* Add exception for utility_meter

* Rewrite exception for utility_meter

* Add comment in utility_meter

* Tweak comment
2022-01-11 13:58:35 +01:00
Marc Mueller f3bc9fc740
Update Python version used for pylint (#63895) 2022-01-11 13:41:57 +01:00
epenet 277c12cf64
Add setup type hints to envisalink (#63785)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 13:39:52 +01:00
Michael Chisholm dc71d59141
dlna_dmr: Allow for upnp attributes with None contents (#63892) 2022-01-11 13:36:46 +01:00
Franck Nijhof cb66685174
Drop Python 3.8 support (#63883) 2022-01-11 12:00:53 +01:00
Franck Nijhof f92213201c
Add myself as codeowner for LaMetric (#63887) 2022-01-11 11:34:58 +01:00
Marc Mueller 4d76ed9ceb
Fix implicit reexport [helpers.condition] (#63830) 2022-01-11 11:03:10 +01:00
Erik Montnemery f4e9187d01
Remove last_reset from vicare sensor (#63879) 2022-01-11 10:25:00 +01:00
Erik Montnemery ccc4423c62
Remove last_reset from vesync sensor (#63877) 2022-01-11 10:01:47 +01:00
micha91 b4b758811f
Fix MusicCast select current_option (#63668)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-11 08:49:02 +01:00
epenet 431d15bf8b
Remove deprecated async_get_scanner from fritz (#63857)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:27:33 +01:00
epenet d8a3a26444
Remove deprecated async_get_scanner from keenetic_ndms2 (#63860)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:24:21 +01:00
epenet 8dcffc9993
Remove deprecated async_get_scanner from nmap_tracker (#63863)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:23:50 +01:00
epenet 9bcdc2b847
Deprecate iCloud YAML configuration (#63875)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:22:23 +01:00
epenet 0793445c40
Cleanup netgear platform schema (#63873)
* Cleanup netgear platform schema

* Cleanup config_flow

* Cleanup tests

* Cleanup CONF_APS constant

* Cleanup tests (take 2)

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 08:07:56 +01:00
Marc Mueller bb765803dc
Upgrade hangups to 0.4.17 (#63871) 2022-01-11 07:21:17 +01:00
Allen Porter 596edc8919
Add a stream_id parameter to the WebRTC provider (#63625)
* Add a stream_id parameter to the WebRTC provider

Add an additional stream id parameter (effectively, the camera entity id)
to allow updating an existing stream source when the strema changes. This
is useful for stream sources that have expiring URLs, like Nest.

* Redefine the provider using a type

* Use old typing methods for type definintion to pass python3.8 pylint
2022-01-10 17:56:18 -08:00
Duco Sebel 8f6e24aa1e
Add HomeWizard Energy integration (#55812)
Co-authored-by: Matthias Alphart <farmio@alphart.net>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-10 16:23:31 -08:00
GitHub Action d3cd813c5e [ci skip] Translation update 2022-01-11 00:14:57 +00:00
Paulus Schoutsen 51c98085e3
Bump frontend to 20211229.1 (#63866) 2022-01-10 16:13:08 -08:00
J. Nick Koston 173b890b21
Bump aioharmony to 0.2.9 (#63858) 2022-01-10 15:40:57 -08:00
J. Nick Koston 08337fbd36
Bump flux_led to 0.27.45 to fix missing controls on ZJ21410 models (#63854) 2022-01-10 15:40:45 -08:00
epenet caff3e0630
Add type hints to get_scanner/async_get_scanner (#63836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 23:42:39 +01:00
epenet d76d9f9e42
Add type hint to get_scanner in ubus (#63856) 2022-01-10 23:30:15 +01:00
epenet edc4d3bb6e
Fix invalid get_scanner return value in unify_direct (#63855) 2022-01-10 23:23:40 +01:00
epenet f24b3509a7
Remove deprecated async_get_scanner from netgear (#63862) 2022-01-10 22:54:35 +01:00
Kevin Hellemun 6d162929a6
Add xiaomi_miio vacuum current cleaning cycle statistics sensor (#61098) 2022-01-10 22:49:59 +01:00
epenet 0ac9b62f97
Fix incorrect type hint in async_setup_scanner (#63833)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 22:47:24 +01:00
Christopher Bailey 0030f114f9
Add UniFi Protect global services (#63768)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-10 11:04:53 -10:00
epenet 52959cf48c
Remove ee brightbox integration (#63839)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 20:21:46 +01:00
Franck Nijhof 003a1e87a7
Remove unneeded boolean conversion from senseme (#63783) 2022-01-10 09:12:57 -10:00
Jonathan Keslin 56c577c832
Expose power & energy usage of VeSync outlets as separate sensors (#61837) 2022-01-10 09:39:31 -08:00
Marc Mueller 021debb5c5
Resolve implicit imports (#63832) 2022-01-10 17:10:46 +01:00
epenet 8fcca8c88b
Allow None agent in conversation (#63761) 2022-01-10 17:02:54 +01:00
Guido Schmitz eacd9f9994
Bump devolo-plc-api to 0.7.1 (#63834) 2022-01-10 16:56:04 +01:00
epenet e3784b9c3e
Add setup type hints to yamaha (#63811)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:45:59 +01:00
epenet 505320f827
Add setup type hints to season (#63798)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:38:32 +01:00
Marc Mueller 01baa20671
Fix implicit reexport [dt_util] (#63829) 2022-01-10 16:31:23 +01:00
epenet c6aaa24027
Add type hints to async_setup_scanner (#63826)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:13:54 +01:00
epenet 896885a2c3
Add setup type hints to supervisord (#63807)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 16:12:17 +01:00
jjlawren 740a8c33ee
Add `audio_delay` number entity to Sonos (#63566) 2022-01-10 16:04:40 +01:00
dougiteixeira e2f9284c55
Fix the translation strings for Tuya Select (#63353) 2022-01-10 15:55:09 +01:00
Robert Hillis 7c51d2f159
Add strict typing to abode (#57673) 2022-01-10 15:54:09 +01:00
epenet bc2f4e82e3
Add setup type hints to nx584 (#63796)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:43:34 +01:00
epenet 0471a9e885
Add setup type hints to workday (#63810)
* Add setup type hints to workday

* Adjust dict accessor

* Adjust tests

* Undo changes to tests

* Adjustments to loading of config

* Once more

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:21:16 +01:00
Knodd 40d0a6e99e
Support Tuya strip lights with correct values for saturation and brightness (#63812)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-10 15:21:03 +01:00
Franck Nijhof 2e97719650
Update sentry-sdk to 1.5.2 (#63821) 2022-01-10 15:14:39 +01:00
epenet c370a4b987
Use local constant in netgear_lte config schema (#63753)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:13:30 +01:00
Joakim Sørensen d1bb916070
Add client metadata to cloud register (#63794) 2022-01-10 14:49:25 +01:00
epenet ca4cd4fbda
Add setup type hints to mikrotik (#63797)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 14:05:08 +01:00
Franck Nijhof c339233421
Update PyTurboJPEG to 1.6.5 (#63803) 2022-01-10 13:28:04 +01:00
Sagi Bernstein f00a029910
Support 4 channels switch (#63724) 2022-01-10 13:27:47 +01:00
Erik Montnemery 0b28881b75
Enable Google Assistant state reporting by default (#63801) 2022-01-10 13:18:40 +01:00
Ryan Fleming 77d22c8542
Allow self signed certs on octoprint server (#59213) 2022-01-10 13:15:38 +01:00
Simone Chemelli 69c8a02e16
Address late Shelly review (#63754)
* Late review

* Apply review comments

* Revert review original comment

* Optimizization: loop exit

* Break instead of return

* Missing super init
2022-01-10 13:14:19 +01:00
epenet 9a312e7a7d
Drop use of discovery_info in aquostv (#63777)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 13:11:02 +01:00
Gunnar Klauberg 0f2e2aef2f
Add DSMR config options for EasyMeter/Q3D (#63669)
Co-authored-by: Rob Bierbooms <mail@robbierbooms.nl>
2022-01-10 13:08:41 +01:00
Petro31 9c6c13a55c
Add is_number as a test for use in select, selectattr, reject, and re… (#63732) 2022-01-10 13:00:43 +01:00
epenet 51292cc135
Fix incorrect type hint in discovery helper (#63789)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 11:14:31 +01:00
epenet 06e2f58529
Adjust custom data location in hdmi_cec (#63791)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 10:57:48 +01:00
epenet 24314f1b11
Use Platform enum in load_platform [m-z] (#63751) 2022-01-10 10:45:11 +01:00
epenet 1305affda0
Add setup type hints to hdmi_cec (#63788)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 10:35:19 +01:00
epenet c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
Orce MARINKOVSKI b78e22e012
Update MQTT light schema template (#62759)
* shema template update

* tests to cover the additional template variables

* fix flake8: too many blank lines

* Update schema_template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-10 09:57:56 +01:00
epenet 4f3fa0dbbe
Add setup type hints to gpmdp (#63787)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:51:23 +01:00
chpego 4c8dac9607
Bump py synologydsm api to 1.0.5 (#63786) 2022-01-10 09:44:12 +01:00
J. Nick Koston 4dfe6b3355
Cleanups for SenseME switch platform (#63774) 2022-01-10 09:38:08 +01:00
epenet ccdfe0fb01
Add setup type hints to avion (#63778)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:35:23 +01:00
epenet 82f91bcd5f
Adjust migrate_entry in axis (#63779)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:34:22 +01:00
epenet 66809464e4
Add setup type hints to aws (#63781)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:33:04 +01:00
epenet f984e17d4e
Add setup type hints to emby (#63784)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 09:31:26 +01:00
RenierM26 18706e6408
Bump PySwitchbot to 0.13.2 (#63713)
* Bump api

* gen requirements

* Bump api to 0.13.2 to remove print statement.
2022-01-10 07:19:04 +01:00
J. Nick Koston a8a6e22063
Add DeviceInfo to steamist (#63773) 2022-01-09 21:28:59 -08:00
Raman Gupta 7b3e5fdf9d
Fix zwave_js device actions (#63769) 2022-01-09 21:28:36 -08:00
J. Nick Koston b5bb692fe4
Fix august locks failing to lock/unlock (#63652) 2022-01-09 21:27:27 -08:00
Franck Nijhof d0ddf3ce8c
Fix Tuya climate c_f DP not being a string (#63680) 2022-01-09 21:26:28 -08:00
Christopher Bailey d8ba90fb8a
Refactor EntityDescriptions for UniFi Protect (#63716) 2022-01-09 18:37:24 -10:00
J. Nick Koston b658c053ec
Add switch platform to SenseME (#63719) 2022-01-09 17:16:19 -10:00
epenet 36dd8ca09a
Enable strict typing in browser (#63760)
* Add setup type hints to browser

* Add browser to script-typing
2022-01-10 04:02:50 +01:00
Simone Chemelli 9479ef0a34
Fix climate channel for Shelly (#63756)
* Revert "Improve availability for Shelly Valve"

This reverts commit d8cbd81b456820153522e6d86bbd00c4a4a31129.

* Fix channel for climate
2022-01-10 01:16:13 +01:00
GitHub Action d99548fc04 [ci skip] Translation update 2022-01-10 00:14:49 +00:00
RogerSelwyn 4ee4d909ec
Bump pyskyqhub to 0.1.4 (#63734)
* Bump pyskyqhub to 0.1.4

* Bump pyskyqhub to 0.1.4
2022-01-09 23:11:58 +02:00
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 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
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
Marc Mueller 54cb1e7556
Add strict typing to `core.py` (5) - Task (#63243) 2022-01-07 16:48:34 +01:00
Allen Porter 4203e1b064
Delete nest event image fetching and use same APIs as media player (#62789) 2022-01-07 16:37:54 +01:00
G Johansson 91900f8e4e
Add yale_smart_alarm config options flow (#54097) 2022-01-07 16:32:49 +01:00
epenet ecb921949a
Add setup type hints [v-y] (#63614)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:30:01 +01:00
epenet 0700c73bd0
Add setup type hints [s-t] (#63613)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:29:16 +01:00
epenet d94f68d697
Add setup type hints [n-r] (#63607)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:28:24 +01:00
epenet d504a4dbda
Add setup type hints [k-m] (#63605)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:27:49 +01:00
epenet 8c49fff699
Add setup type hints [h-i] (#63603)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:26:57 +01:00
epenet a08b758bfb
Add setup type hints [a-e] (#63597)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-07 16:24:13 +01:00
G Johansson e7ef317b43
Bump yalesmartalarmclient to v0.3.7 (#63596) 2022-01-07 15:15:23 +01:00
Tobias Perschon beed861a19
Add daily energy usage sensor to daikin (#61617) 2022-01-07 14:58:21 +01:00
tausen 95f8c26e23
Auto-setup a few more IHC devices (#58806) 2022-01-07 14:47:12 +01:00
Michael 9deebaa65f
Move lock and devicelock attributes into sensors for all AVM Fritz!Smarthome entities (#60426) 2022-01-07 14:46:17 +01:00
Ted van den Brink b3f3e7259e
Add long term statistics to buienradar (#58917) 2022-01-07 14:36:43 +01:00
Tuen Lee 8b216db885
Tuya Alarm Initial commit (#60080) 2022-01-07 14:20:30 +01:00
Erik Montnemery 09986436a1
Make idle chromecasts appear as idle instead of off (#61786) 2022-01-07 14:19:41 +01:00
rianadon b5d55ce7bc
Weather units: Buienradar (1.2/4) (#61470) 2022-01-07 14:15:40 +01:00
Steven Looman 9bf1397c54
Fix upnp device not being reinitialized after device changes location (#63133) 2022-01-07 14:10:11 +01:00
Raman Gupta 6d42af1b12
Add state translations and icons to ClimaCell sensors (#63526) 2022-01-07 14:08:49 +01:00
Kevin Stillhammer 9236c08e6c
Add SensorStateClass to Kraken sensors (#63590) 2022-01-07 13:21:36 +01:00
RefineryX b3c2ebd9ca
Add support for Levoit Core 300S air purifier to VeSync integration (#62488) 2022-01-07 12:55:39 +01:00
Simon Tegelid 4c1f65b7a4
Bump pybotvac version for the neato integration (#63586) 2022-01-07 12:54:57 +01:00
Kevin Stillhammer b1f19ede34
Add Kraken configuration_url (#63565) 2022-01-07 12:53:11 +01:00
Marc Mueller 5783c07630
Add missing TypeVar in vlc_telnet decorator (#63587) 2022-01-07 12:08:28 +01:00
Marc Mueller 7b78862a11
Revert "Use Platform enum [emulated_hue] (#63498)" (#63576)
This reverts commit 4fd555f508.
2022-01-07 11:38:48 +01:00
Erik Montnemery 8bf8709d99
Simplify groups (#63477)
* Simplify group

* Rename async_update to async_update_group_state and mark it as callback

* Simplify _async_start
2022-01-07 08:58:45 +01:00
J. Nick Koston e222e1b6f0
Add device configuration entities to flux_led (#62786)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-06 21:02:19 -10:00
Marc Mueller 250af90acb
Improve callable typing [helpers.event] (#63543) 2022-01-06 21:01:27 -10:00
J. Nick Koston ad68d0795e
Fix missing device name with legacy flux_led discovery (#62785) 2022-01-06 19:43:22 -10:00
J. Nick Koston ff3b7489ec
Pickup code owner for flux_led (#63573)
- I am now using the smart plugs in production since support
  for disconnecting them from the cloud was added
2022-01-06 19:17:36 -06:00
GitHub Action f0a3e241ee [ci skip] Translation update 2022-01-07 00:14:47 +00:00
Marc Mueller 198ade5e2b
Fix typing `TrackTemplateResultListener` [helpers.event] (#63541) 2022-01-06 13:43:54 -10:00
Michael f8a78a49bb
Fix cleanup service to just run on loaded config entries in Fritz!Tools (#63570) 2022-01-06 12:28:12 -10:00
Christopher Bailey 3e2495f417
Isolate consts better to where they are used (#63569) 2022-01-06 11:57:56 -10:00
epenet 5fa6ef2849
Use attr** in thermoworks-smoke (#62436)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-06 20:56:30 +01:00
Christopher Bailey 812cb4a9d8
UniFi Protect test sensor followup (#63563) 2022-01-06 19:31:25 +01:00
Franck Nijhof 469b6a0eb1
Update requests to 2.27.1 (#63552) 2022-01-06 19:15:17 +01:00
Marc Mueller 120c199ddf
Fix flux_led sync time (#63554) 2022-01-06 07:57:01 -10:00
Franck Nijhof d8e1e1396c
Update Numpy to 1.22.0 (#63559)
* Update Numpy to 1.22.0

* Remove obsolete ignore
2022-01-06 18:51:13 +01:00
Allen Porter 1ed2497ec9
Revert "Bump google-cloud-pubsub to 2.9.0 (attempt #2) (#63522)" (#63561)
This reverts commit 1baa3d87d1.
2022-01-06 09:46:11 -08:00
Franck Nijhof 31f37f3363
Update PyTurboJPEG to 1.6.4 (#63553) 2022-01-06 08:56:39 -08:00
G Johansson 3950933514
Code improvements to trafikverket_weatherstation (#62854)
* Code cleanup

* Fix extra state attributes

* Fix review comments

* Fix precipitation_amount if None

* Fix sensors returning None

* Use const for sensors reporting None
2022-01-06 16:33:06 +01:00
Aaron Bach c341adb0d6
Move ReCollect Waste "next pickup" info to its own sensor (#62558) 2022-01-06 08:05:48 -07:00
Allen Porter 1baa3d87d1
Bump google-cloud-pubsub to 2.9.0 (attempt #2) (#63522) 2022-01-06 15:47:06 +01:00
jjlawren 7f077c8956
Bump soco to 0.25.3 (#63548) 2022-01-06 15:26:03 +01:00
Jonathan Keljo 41625f7410
Bump greeneye_monitor to v3.0.1 (#63531) 2022-01-06 14:59:56 +01:00
Simone Chemelli 60b6871b46
Fritz cleanup: part1 (naming) (#63535) 2022-01-06 12:15:40 +01:00
Franck Nijhof 53d86d4317
Deprecate 1-Wire SysBus (ADR-0019) (#63513)
* Deprecate 1-Wire (ADR-0019)

* Deprecate only SysBus

* Remove from init

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Clarify OWServer is supported

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-06 12:09:43 +01:00
rikroe e9dec5d03a
Add button entities to bmw_connected_drive (#63136)
Co-authored-by: Gerard <gerard33@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-01-06 12:05:25 +01:00
Dmitry Vasilyev 77ccf46c9b
Updated the support of Tuya Circuit Breaker 'dlq' (#63519)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-06 12:01:16 +01:00
Kevin Worrel 10e2caf9e6
Bump screenlogicpy (#63533) 2022-01-05 22:32:55 -10:00
Paulus Schoutsen 7872f87dd7
Allow registering a webhook as local only (#63516) 2022-01-05 23:45:02 -08:00
Marc Mueller 8207665c3e
Add strict typing to core.py (1) - EventBus (#63239) 2022-01-06 03:14:42 +01:00
J. Nick Koston 4283b2358c
Add support for Steamist steam showers (#63251)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-06 02:55:57 +01:00
Christopher Bailey 7d442122c0
Add UniFi Protect sensor platform (#63524)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-05 15:47:47 -10:00
J. Nick Koston c16794968f
Consistently type/coerce climate humidity to be an int (#61456) 2022-01-06 02:09:43 +01:00
Marc Mueller caaa1b32c1
Add strict typing to `core.py` (3) - Service (#63241) 2022-01-06 01:18:17 +01:00
GitHub Action dd118fe013 [ci skip] Translation update 2022-01-06 00:15:13 +00:00
Franck Nijhof 24ae379fad
Deprecate Piglow (ADR-0019) (#63505) 2022-01-05 23:36:02 +01:00
Franck Nijhof 8c67963991
Deprecate Raspberry Pi GPIO (ADR-0019) (#63503) 2022-01-05 23:35:41 +01:00
Franck Nijhof c88c3e9abb
Deprecate pigpio Daemon PWM LED (ADR-0019) (#63504) 2022-01-05 23:35:22 +01:00
Franck Nijhof 274955f492
Deprecate Blinkt! (ADR-0019) (#63510) 2022-01-05 23:35:12 +01:00
Franck Nijhof 2af50b831b
Deprecate Enviro pHAT (ADR-0019) (#63509) 2022-01-05 23:34:57 +01:00
Franck Nijhof 7b79a0a086
Deprecate MH-Z19 CO2 Sensor (ADR-0019) (#63508) 2022-01-05 23:34:48 +01:00
Franck Nijhof 25490b892b
Deprecate Orange Pi GPIO (ADR-0019) (#63507) 2022-01-05 23:34:39 +01:00
Franck Nijhof e9e25b55dc
Deprecate PiFace Digital I/O (PFIO) (ADR-0019) (#63506) 2022-01-05 23:34:26 +01:00
Phil Cole 10027b2090
Add button to start leaf charge (#62948)
Co-authored-by: Bruce Duncan <bwduncan@gmail.com>
2022-01-05 23:33:04 +01:00
Phil Cole 8cacfd852b
Optimise sleep time for nissan leaf servers (#62857) 2022-01-05 23:22:15 +01:00
Christopher Bailey 4e56217b89
Add UniFi Protect binary_sensor platform (#63489)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-05 11:59:21 -10:00
Pascal Reeb 00e7421e3a
Upgrade pynuki to 1.5.2 (#62866) 2022-01-05 22:57:55 +01:00
Franck Nijhof ce31af5b42
Revert "Bump google-cloud-pubsub to 2.9.0 (to bump grpcio)" (#63517) 2022-01-05 22:50:11 +01:00
rhpijnacker 32c416b646
Bump dsmr-parser dependency to 0.32 (#63436) 2022-01-05 22:50:00 +01:00
Hans Oischinger 2969a7ab4f
Address late review of vicare config flow (#63343)
* Review comments from #56691

* Adapt to review suggestions

* Update homeassistant/components/vicare/strings.json

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-05 22:49:42 +01:00
jjlawren 10195dc700
Improve server selection for Plex config flows (#63408) 2022-01-05 22:20:33 +01:00
Nico Müller cf1df5ff38
Add 'fire_event' command to websocket api (#63378)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:28:40 -08:00
Loek Sangers 25fe213f22
Enable local fulfillment google assistant (#63218)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:09:59 -08:00
Allen Porter f786237def
Bump google-cloud-pubsub to 2.9.0 (#63493)
The primary motivation is to kick off building wheels for grpcio
2022-01-05 12:03:45 -08:00
stegm 0aaf0b6160
Add configuration url to kostal plenticore (#63502) 2022-01-05 20:34:56 +01:00
Marc Mueller 4fd555f508
Use Platform enum [emulated_hue] (#63498) 2022-01-05 20:27:01 +01:00
Simone Chemelli c3a432620c
Improve cleanup service for Fritz (#61484) 2022-01-05 20:21:15 +01:00
Franck Nijhof da1d74feb8
Deprecate Raspberry Pi RF (ADR-0019) (#63501) 2022-01-05 19:38:43 +01:00
Franck Nijhof 640e625c2c
Deprecate Sense HAT (ADR-0019) (#63500) 2022-01-05 19:34:45 +01:00
Franck Nijhof 8864492e35
Mark PVOutput as platinum on the integration quality scale (#63453) 2022-01-05 19:26:43 +01:00
Marc Mueller 945b67c5c5
Fix 3rd party imports (#63455) 2022-01-05 19:00:47 +01:00
epenet ef02f2005a
Add setup type hints [v-w] (#63484)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 18:23:43 +01:00
Marc Mueller ae6d9c229e
Use const imports [l-z] (#63469) 2022-01-05 18:21:20 +01:00
Erik Montnemery 6d57dbde68
Support passing callbacks to start.async_at_start (#63473)
* Support passing callbacks to start.async_at_start

* Update homeassistant/helpers/start.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Fix imports

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-05 18:04:09 +01:00
Erik Montnemery 1b44c25015
Sort google_assistant consts (#63487) 2022-01-05 17:54:29 +01:00
Tom Hennigan ce138dd30e
Add unique id to flic buttons (#61496)
* Use bluetooth address as unique id for flic buttons.

* Always lower case address for uid and add tests.

* Update test to set up component.

* Use format_mac(addr) as unique id.

* Only patch pyflic objects and use query entity registry for buttons.

* Replace ExitStack with patch.multiple, remove assert_setup_component.

* Test binary sensor is present in state machine.
2022-01-05 17:51:01 +01:00
epenet ef309182fe
Add setup type hints to homeassistant (#63439)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:35:17 +01:00
epenet 4c48705fe8
Add setup type hints [s] (part 1) (#63476)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:47 +01:00
epenet 992f9c3c6c
Add setup type hints [s] (part 2) (#63479)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:18 +01:00
Marc Mueller d61a96f0ab
Use correct relative imports [a-m] (#63470) 2022-01-05 17:28:12 +01:00
Marc Mueller 04e1933728
Use correct relative imports [n-z] (#63471) 2022-01-05 17:23:49 +01:00
epenet d20851812e
Add setup type hints [x-z] (#63485)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:21:46 +01:00
epenet a4fdaffb14
Add setup type hints [t-u] (#63480)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:19:19 +01:00
Marc Mueller 246338f93d
Use const imports [g-i] (#63468) 2022-01-05 17:08:00 +01:00
Marc Mueller 1b32385ab2
Use const imports [a-e] (#63467) 2022-01-05 16:44:13 +01:00
epenet a2de95197d
Add setup type hints [n] (#63462)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:38:37 +01:00
epenet 64e7e62aa0
Add setup type hints [r] (#63472)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:37:47 +01:00
epenet 8756fa28e2
Add setup type hints [o-q] (#63465)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:29:21 +01:00
jjlawren 754f4c52c2
Support media_player grouping services for Sonos (#63256) 2022-01-05 16:22:36 +01:00
Allen Porter d6c8f3965a
Improve nest camera failure handling on removal (#63207) 2022-01-05 16:17:51 +01:00
Colin O'Dell 17b6f7ec88
Remove colinodell as QNAP codeowner (#63474) 2022-01-05 16:14:58 +01:00
epenet 5196b75ed6
Add setup type hints [m] (#63456)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 15:11:38 +01:00
epenet 47812575d0
Add setup type hints [c-d] (#63428)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 15:05:22 +01:00
epenet 953a4f07fa
Add setup type hints [b] (#63427)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 15:04:17 +01:00
Erik Montnemery 75f8e031df
Add support for curtain device class to google assistant (#63380) 2022-01-05 15:01:58 +01:00
Marc Mueller 40262c4763
Fix exception import locations (#63454) 2022-01-05 15:00:49 +01:00
Marc Mueller c384596899
Use SensorDeviceClass in `sensor` and `helpers` packages (#63452) 2022-01-05 14:59:51 +01:00
Marc Mueller dfa94d6ce1
Import `image_processing` constants from `const` (#63461) 2022-01-05 14:58:00 +01:00
Marc Mueller b168a8c7d0
Use imports from `helpers.typing` (#63459) 2022-01-05 14:56:34 +01:00
Marc Mueller b0f72f59da
Use imports from `core` (#63458) 2022-01-05 14:55:38 +01:00
Stefan Agner efc0d0265d
Upgrade python_opendata_transport to 0.3.0 (#63409) 2022-01-05 14:52:25 +01:00
epenet 6a67143732
Add setup type hints [a] (#63424)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 14:15:57 +01:00
epenet eed6ca51e9
Add setup type hints [g] (#63432)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:49:14 +01:00
epenet 1ac3e71462
Add setup type hints [f] (#63431)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:34:15 +01:00
epenet 506a0b526b
Add setup type hints [l] (#63450)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:30:37 +01:00
epenet 177b573454
Add setup type hints to magicseaweed (#63451)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 13:26:23 +01:00
epenet 3f3ba4f714
Add setup type hints [e] (#63430)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:49:13 +01:00
Simone Chemelli cd5bd2ff8b
Fix internet access switch for Fritz Wi-Fi guest devices (#63407) 2022-01-05 12:47:47 +01:00
Mike Degatano c1967abfca
Bump influxdb-client dependency to 1.24.0 (#63397) 2022-01-05 12:45:41 +01:00
J. Nick Koston 11ec7937f7
Bump flux_led to 0.27.40 to fix SK6812RGBW white level reporting (#63435) 2022-01-05 12:24:03 +01:00
Franck Nijhof cac60d5c57
Fix incorrect access to entity registry in Xiaomi Miio (#63446) 2022-01-05 12:21:24 +01:00
Chris Talkington 213b1bf684
Add MAC to Roku device (#63422) 2022-01-05 12:18:52 +01:00
Erik Montnemery 0ef30c4e37
Bump pychromecast to 10.2.3 (#63429) 2022-01-05 12:17:54 +01:00
epenet 533c377bd1
Add setup type hints to history (#63441)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:16:56 +01:00
Erik Montnemery c60bb1890d
Remove unused group config view (#63434) 2022-01-05 12:16:11 +01:00
epenet 178d2848f3
Add setup type hints [i-k] (#63444)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:14:13 +01:00
epenet fee95e129a
Add setup type hints [h] (#63438)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:13:11 +01:00
Franck Nijhof ed791aa854
Add sensor tests to PVOutput (#63400) 2022-01-05 11:15:18 +01:00
Daniel Hjelseth Høyer ba1b09a3a5
Add external Tibber statistics (#62249)
* Tibber, add external statistics

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

* Tibber, add external statistics

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

* Tibber ext stats

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

* Add tests

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

* name

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-01-05 09:33:12 +01:00
Franck Nijhof 56520b69ac
Remove deprecated Arduino integration (#63406) 2022-01-05 09:15:50 +01:00
Franck Nijhof 0adc96348c
Update holidays to 0.12 (#63389) 2022-01-05 09:14:48 +01:00
Paulus Schoutsen 2b4bb49eb7
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Erik Montnemery d4310f0d70
Remove groups.yaml from default config (#63366)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-04 23:16:08 -08:00
Milan Meulemans 8e46dff2a2
Deprecate Nanoleaf YAML (#63404) 2022-01-05 08:07:11 +01:00
Marcel van der Veldt f999266c9a
Add additional service to set advanced Hue scene options (#63035) 2022-01-04 21:39:08 -08:00
epenet 40e77e2af0
Fix type hint in http register_view (#63385)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 21:25:16 -08:00
J. Nick Koston e6e200f3c1
Handle no enabled ipv4 addresses in the network integration (#63416) 2022-01-04 21:22:28 -08:00
Allen Porter 224f960050
Set the nest configuration title to a user friendly name (#62886)
* Set the nest configuration title to a user friendly name

Set the config entry title name to be the name of the Google Home or
Nest Home that was authorized. In case more than one home was authorized,
they are all listed since they are all accessed over a single shared
home.

* Fix pylint errors

* Resolve pylint errors
2022-01-04 19:23:20 -08:00
mezz64 5c44c27088
Fix Heat Service, bump pyEight to 0.2.0 (#63405) 2022-01-04 16:17:27 -10:00
GitHub Action d2c06c5947 [ci skip] Translation update 2022-01-05 00:15:18 +00:00
epenet 4c14aad90f
Add setup type hints to august (#63388)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 13:32:11 -10:00
jjlawren 058520769b
Handle missing monitored users in Plex options (#63411) 2022-01-04 15:16:53 -08:00
Christopher Masto 32933b2c6b
Work around ingress glitch with 304 responses (#63355)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-04 14:04:43 -08:00
Maciej Bieniek 626ae7be9b
Do not create a number LED brightness entity for Xiaomi Miio devices that do not support it (#62819)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-04 13:43:22 -08:00
mletenay f0acbabd48
Add Goodwe solar inverter integration (#58503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2022-01-04 22:19:31 +01:00
Franck Nijhof 841e22258d
Fix missing timezone in GTFS timestamp sensor (#63401) 2022-01-04 13:16:35 -08:00
Allen Porter cb76a30233
Add a lock on nest stream URL creation to avoid multiple in flight at once (#63212)
Add a lock to avoid multiple calls to create stream URLs when requests race in parallel
to open streams. This is to avoid # of API calls on the nest server which can be
rate limited, and to avoid any possibility of having too many streams per camera outstanding at once.
2022-01-04 12:27:56 -08:00
Michaël Arnauts 5c8e802cbf
Add unique_id to tellstick devices (#63391) 2022-01-04 21:16:43 +01:00
Franck Nijhof cd9096907b
Simplify WLED config flow, use device name for config entry (#63377) 2022-01-04 10:59:14 -08:00
On Freund 8c756f4b41
Parse Risco event time as local (#63395) 2022-01-04 19:57:21 +01:00
Marc Mueller 048d8f9263
Add strict typing to `core.py` (6) - Implicit reexport (#63345) 2022-01-04 19:51:19 +01:00
Maciej Bieniek 16f6bad897
Fix status type in Shelly climate platform (#63347) 2022-01-04 19:32:25 +01:00
Jevgeni Kiski 6af99882c5
Prometheus to support input_number (#58964)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-04 18:52:43 +01:00
jjlawren 8a8ffa1c08
Add support for Sonos microphone binary_sensor (#63097)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-04 18:45:40 +01:00
Hmmbob ec75b0caf0
Add Picnic last_order_max_order_time sensor (#63169) 2022-01-04 18:41:31 +01:00
Marc Mueller 53496c019c
Start using `ParamSpec` for decorator functions (#63148) 2022-01-04 18:37:46 +01:00
Marc Mueller 3a32fe9a34
Add strict typing to `core.py` (2) - State (#63240) 2022-01-04 18:33:56 +01:00
ryborg 5f5adffd5b
Fix CO/CO2 sensors mixup in Google Assistant (#63152)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 18:24:44 +01:00
Franck Nijhof 2fe08d2b9b
Complete strict typing to Humidifier entity platform (#61021) 2022-01-04 18:09:32 +01:00
Allen Porter d7b080b285
Add support for Add-on discovery in rtsp_to_webrtc (#63211)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 17:58:08 +01:00
tschnilo 46e61008ea
Update PyVicare to 2.15.0 (#63342)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 17:55:43 +01:00
J. Nick Koston 13b262bcce
Keep flux_led device time in sync (#63259) 2022-01-04 17:37:15 +01:00
Renat Nurgaliyev f71d49230d
Add counter entities support to Prometheus component (#62410) 2022-01-04 17:34:05 +01:00
epenet 911f2751b4
Drop device_class in wallbox number (#62438)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 17:29:46 +01:00
Allen Porter 0bcad5579b
Set nest climate hvac_action to report idle when hvac mode is not off (#62811) 2022-01-04 17:28:46 +01:00
Marcel van der Veldt 829ff9c423
Fix Hue grouped light color_mode calculation (#63374) 2022-01-04 17:15:19 +01:00
Tobias Sauerwein c423b01eb0
Implement retry for Netatmo webhook registration (#62597) 2022-01-04 16:52:27 +01:00
J. Nick Koston ee375ff42d
Offer local control option when there are multiple zeroconf homekit matches (#62649) 2022-01-04 16:51:38 +01:00
epenet 411fcad798
Use BinarySensorDeviceClass enum in binary_sensor device automations (#62635) 2022-01-04 16:46:21 +01:00
On Freund 7e4414710d
Convert Risco sensor states to timestamps (#63139)
Co-authored-by: Franck Nijhof <frenck@frenck.dev>
2022-01-04 16:40:32 +01:00
Allen Porter fdb4b1d7f0
Cleanup nest config flow (#63351) 2022-01-04 16:33:17 +01:00
J. Nick Koston 5c8271552a
Add hardware revision support to homekit (#63336) 2022-01-04 16:19:12 +01:00
Joakim Plate 7c6297db86
Add support for philips js screen state (#62775) 2022-01-04 16:14:44 +01:00
Brandon Rothweiler 06f05d2302
Use entity class attributes for Mazda integration (#59869) 2022-01-04 16:08:54 +01:00
Robert Hillis f028079815
Remove deprecated yaml config from sma (#62472)
Co-authored-by: René Klomp <rene@klomp.ws>
2022-01-04 16:04:16 +01:00
Sebastian Muszynski 72674876fc
Add philips.light.hbulb support (#62417) 2022-01-04 16:01:36 +01:00
vauriga 0a00c77ed6
Add support for Pet Feeder (cwwsq) in Tuya (#61359) 2022-01-04 16:00:48 +01:00
Erwin Oldenkamp 39b26e5ff7
Add device to Wallbox integration (#63011) 2022-01-04 15:46:57 +01:00
Marc Mueller 3e51659ba7
Remove some unused TypeVars (#63346) 2022-01-04 15:38:34 +01:00
starkillerOG 4d59c1bf07
Bump micloud to 0.5 (#63348) 2022-01-04 15:37:33 +01:00
Marc Mueller fcd80b2ed7
Fix `ensure_list` typing (#63311) 2022-01-04 15:23:48 +01:00
Ville Skyttä 5231bc5dcb
Simplify device registry update (#62868) 2022-01-04 15:02:11 +01:00
Mike Degatano 8d2cb82b1d
Update influxdb dependency to `5.3.1` (#62228) 2022-01-04 13:49:43 +01:00
Paulus Schoutsen e201293848
Add MAC to WLED device (#63349) 2022-01-04 13:49:15 +01:00
Eric Severance 1bfa2a9b25
Add configuration_url for ONVIF (#61526) 2022-01-04 13:48:26 +01:00
Eric Severance 26f9ffbdd5
Allow password-less login to jellyfin (#61646) 2022-01-04 13:44:10 +01:00
Fabian Affolter e2f7a58a38
Update no_ip URL (#62477) 2022-01-04 13:42:54 +01:00
David F. Mulcahey 6a685f0315
Add select entities to ZHA (#62718) 2022-01-04 13:40:29 +01:00
Robert Hillis cfb47b9195
Remove deprecated yaml config from waze_travel_time (#62543) 2022-01-04 13:39:32 +01:00
Franck Nijhof 12450daf56
Only rely on device status when adding Tuya entities (#63074) 2022-01-04 12:51:45 +01:00
Allen Porter 9c166dfff2
Bump rtsp_to_webrtc to 0.4.0 (#63359) 2022-01-04 11:31:33 +01:00
epenet 5140c1fa6a
Remove invalid return values in setup methods [i-p] (#63363)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 11:30:13 +01:00
epenet 2709db008c
Remove invalid return values in setup methods [a-h] (#63362)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 11:08:28 +01:00
epenet b14ac1b94a
Remove invalid return values in setup methods [r-z] (#63365)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 10:52:30 +01:00
Thomas Dietrich dc15c9ed75
Add SensorDeviceClass to statistics component, improve structures (#62629)
* Improve config checking, add device_class timestamp

* Move additional characteristics into separate branch

* Move deprecation warning for sampling_size default to other branch

* Add supports list description
2022-01-04 10:25:37 +01:00
avee87 04606f05a4
Use built-in Jinja min and max filters in templates (#60327)
* Use built-in Jinja min and max filters in templates

* use built-in filter for global

* lint

* less generic name

* more tests

* even more tests
2022-01-04 10:07:23 +01:00
Chris Talkington 2d0aaeba6b
Address late review of #63238 (#63358) 2022-01-04 09:16:47 +01:00
GitHub Action 021a4f7106 [ci skip] Translation update 2022-01-04 00:14:15 +00:00
Christopher Bailey a2677983a2
Add UniFi Protect select platform (#63337) 2022-01-03 13:42:10 -10:00
rianadon 48057e1dfb
Weather units: climacell (1.3/4) (#61472)
* climacell units

* Fix climacell tests
2022-01-03 15:09:47 -05:00
Paulus Schoutsen ad8af5fc7a
Allow mobile app registrations only supporting websocket push (#63208) 2022-01-03 11:02:41 -08:00