Commit Graph

10700 Commits (6eb044756683cf1b059afa5bfc69e3c3851a76aa)

Author SHA1 Message Date
Erik Montnemery 6eb0447566
Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Erik Montnemery 8d6e2ae354
Import persistent notification part 1 (#63898) 2022-01-11 17:24:59 +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 1a3c5e6460.

* 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
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
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
J. Nick Koston b5bb692fe4
Fix august locks failing to lock/unlock (#63652) 2022-01-09 21:27:27 -08:00
Paulus Schoutsen 689504af86
Raise if trying to store mocks in storage (#63622) 2022-01-09 21:20:21 -08:00
Christopher Bailey d8ba90fb8a
Refactor EntityDescriptions for UniFi Protect (#63716) 2022-01-09 18:37:24 -10: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
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
Christopher Bailey 0232021f5c
Add UniFi Protect camera motion sensors and ThumbnailProxyView (#63696) 2022-01-08 13:51:49 -10:00
Christopher Bailey 8860549ef2
Minor bugfixes for UniFi Protect (#63475) 2022-01-08 06:49:55 -10: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
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
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 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
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