1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 17:04:05 +00:00
Commit Graph

13824 Commits

Author SHA1 Message Date
Robert Svensson
bc7624b417 Fix UniFi remove client service if time stamps are not integers (#63998)
* Only calculate total time if first and last seen are ints, else remove client

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-13 08:15:40 +01:00
Christopher Bailey
20768172b1 Improve UniFi Protect Smart Sensor support (#64019)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-12 17:54:22 -10:00
Chris Talkington
4b11a4365b Add content deeplinking support to roku (#64010) 2022-01-12 20:07:11 -06:00
J. Nick Koston
7fc1306898 Ensure flux_led is reloaded when the ICtype is changed (#64016) 2022-01-12 15:57:12 -10:00
Robert Svensson
59cea56e17 Fix reconnect rather than reauth when both HA and UniFi controller restarts at the same time (#63994) 2022-01-12 15:08:04 -08:00
J. Nick Koston
d3f980d402 Convert siri requests for target heating cooling state auto to a valid mode (#60220) 2022-01-12 15:06:09 -08:00
J. Nick Koston
1c6ca908d1 Add support for changing the white strip type to flux_led (#63943) 2022-01-12 15:03:09 -08:00
J. Nick Koston
5622db10b1 Fix HomeKit reporting/setting colors when white values are present (#63948) 2022-01-12 14:58:25 -08:00
J. Nick Koston
1019156899 Fix homekit options being mutated during config_flow/migration (#64003) 2022-01-12 14:56:24 -08:00
Christopher Bailey
f034ea5b4b Enable package camera by default for UniFi Protect (#63985) 2022-01-12 11:27:41 -10:00
Christopher Bailey
6473069be1 Add Chime Type select for UniFi Protect (#63993) 2022-01-12 08:55:44 -10:00
Franck Nijhof
f93d999260 Revert "Weather units: climacell (1.3/4) (#61472)" (#63842)
This reverts commit 48057e1dfb.
2022-01-12 08:58:33 -08:00
Franck Nijhof
28d49e69c1 Expose WLED configuration URL of discovered device (#63983)
* Expose WLED configuration URL of discovered device

* Add test
2022-01-12 08:57:15 -08:00
Robert Svensson
e37456fb36 Move DPI Group logic to UniFi switch platform (#58761)
* Library has normalized management of DPI apps and groups, move logic to UniFi integration

* Bump dependency to v29

* Use a generator instead of a list - Pylint

* Minor improvements

* Improve doc strings
2022-01-12 17:11:05 +01:00
epenet
b71a22557d Use Platform enum in load_platform [tests] (#63904)
* Use Platform enum in numato tests

* Use Platform enum in discovery tests

* Adjust load_platform argument

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 15:07:30 +01:00
Marc Mueller
d057850971 Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Allen Porter
789c0a24dd Improve nest media player clip/image and event handling for multiple events in a short time range (#63149) 2022-01-11 20:54:49 -08:00
Christopher Bailey
ce0b378e05 Removes ThumbnailProxyView (#63940) 2022-01-11 13:45:40 -10:00
Christopher Bailey
05ee5e0251 Simplify UniFi Protect service setup/cleanup (#63908)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-11 23:37:47 +01:00
J. Nick Koston
259975c116 Add already_configured coverage to oncue (#63919) 2022-01-11 21:44:44 +01:00
Marc Mueller
ef7316d8d9 Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Franck Nijhof
20bdcc7fff Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01:00
epenet
c6416955c6 Add type hints to setup_scanner (#63825)
* Add type hints to setup_scanner

* Fix aprs tests

* Revert "Add type hints to setup_scanner"

This reverts commit 3e8b2954843ee978d356e01ae5976528c74e54dc.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8394e3e59ee48122226a50b8ddcf8bb.

* Add type hints to setup_scanner

* Fix aprs tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:04 +01:00
Erik Montnemery
6eb0447566 Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Jan Bouwhuis
aa73e5bd72 Fix MQTT climate optimistic preset modes (#63463)
* Always publish when preset_mode is set

* Revert "Fixed isort error"

This reverts commit 1a3c5e6460a50a75dd334331e3a9b14d0dedabe3.

* isort
2022-01-11 17:08:26 +01:00
Erik Montnemery
a672dc3437 Import persistent notification (part 4) (#63901) 2022-01-11 16:57:40 +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
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
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
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
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
epenet
f24b3509a7 Remove deprecated async_get_scanner from netgear (#63862) 2022-01-10 22:54:35 +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
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
jjlawren
740a8c33ee Add audio_delay number entity to Sonos (#63566) 2022-01-10 16:04:40 +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
Joakim Sørensen
d1bb916070 Add client metadata to cloud register (#63794) 2022-01-10 14:49:25 +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
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
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
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