Commit graph

11282 commits

Author SHA1 Message Date
Sander Huisman
e7dfc89452
Add unique ID to InfluxDB sensor (#65518) 2022-02-06 18:40:37 +01:00
Franck Nijhof
62a314015c
BinarySensorEntityDescriptions for Plugwise (#65887) 2022-02-06 17:25:55 +01:00
ollo69
13699baa4d
Remove deprecated yaml config from AsusWRT (#65904) 2022-02-06 17:03:04 +02:00
J. Nick Koston
9dc158f5e0
Add support for picking discovered devices to WiZ (#65826)
* Add support for picking discovered devices

- Also fixes state not being written initially (it was not so
  obvious since the next coordinator update wrote it)

* store it

* store it

* order

* fixes

* more cleanups

* hints

* naming

* merge branches
2022-02-05 22:23:31 +01:00
Franck Nijhof
b0bb2d2453
Cleanup Plugwise config flow and tests (#65818) 2022-02-05 19:07:02 +01:00
J. Nick Koston
5621e20963
WiZ Cleanups part 3 (#65819)
* WiZ Cleanups part 3

- Sockets are now using the switch platform

* tweaks

* remove rgb colorcheck

* tweaks

* tweaks

* cover

* cover
2022-02-05 18:56:17 +01:00
J. Nick Koston
676edb610f
Add coverage for color_rgbww_to_rgb, fix divzero case (#65721) 2022-02-05 10:59:32 -06:00
J. Nick Koston
adbc0e5955
Prevent multiple dhcp flows from being started for the same device/domain (#65753) 2022-02-05 10:59:22 -06:00
J. Nick Koston
2bcd4f8f93
Add discovery support to WiZ Part 1 (#65752) 2022-02-05 10:36:44 -06:00
Franck Nijhof
5c6d019d6b
Remove options flow from Plugwise (#65808) 2022-02-05 16:46:50 +01:00
J. Nick Koston
342f5182b9
WiZ cleanups part 1 (#65746)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 09:23:19 -06:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
Franck Nijhof
e242796394
Remove deprecated format for date(time) sensors (#65734) 2022-02-04 23:42:29 -08:00
Aaron Bach
3387e8368b
Add redacted subscription data to SimpliSafe diagnostics (#65751) 2022-02-04 23:41:12 -08:00
Paulus Schoutsen
d753f4a2e7
Fix UPNP access to SSDP info (#65728) 2022-02-04 21:33:53 -08:00
Stephan Traub
432d9a8f19
Introduce wiz integration for the WiZ Platform (#44779)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Stienstra <65826735+j-stienstra@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-04 16:20:21 -08:00
Paulus Schoutsen
5da923c341
Protect state.as_dict from mutation (#65693) 2022-02-04 14:45:25 -08:00
Duco Sebel
0d3bbfc9a7
Fix homewizard_energy migration issues from #65594 (#65718) 2022-02-04 14:45:06 -08:00
J. Nick Koston
26ff6d2aa0
Fix warm/cold reversal in rgbww_to_color_temperature (#65677) 2022-02-04 11:36:30 -08:00
Jeff Irion
fe05d6680c
Bump androidtv to 0.0.63 (fix MAC issues) (#65615) 2022-02-04 20:13:08 +01:00
Joakim Sørensen
8021b05448
Allow selecting own repositories (#65695) 2022-02-04 19:33:10 +01:00
Paulus Schoutsen
a6caf3f579
Call out 3rd party containers more clearly (#65684) 2022-02-04 09:57:14 -08:00
Erik Montnemery
41ab12cb88
Don't use shared session during recorder migration (#65672) 2022-02-04 09:55:11 -08:00
Duco Sebel
a97e69196c
Add migration to migrate 'homewizard_energy' to 'homewizard' (#65594) 2022-02-04 09:12:35 -08:00
Erik Montnemery
8245ff7473
Log transmitted MQTT messages (#65550) 2022-02-04 17:35:32 +01:00
Erik Montnemery
ac7662c82d
Remove limit of amount of duplicated statistics (#65641) 2022-02-04 14:49:45 +01:00
Robert Svensson
96c4e33b24
Parametrize deCONZ binary sensors (#65012)
* Improve test coverage prior to improving deCONZ binary sensor platform

* Define all relevant binary sensors as DeconzBinarySensorDescription

* Fix review comment

* Allow providing extra update keys if sensor provides extra attributes

* Minor touch up of naming

* Remove duplicate assert
2022-02-04 12:58:07 +01:00
alexanv1
98a7125933
Fix Z-Wave lights (#65638)
* Fix Z-Wave lights

* Update tests
2022-02-04 10:50:24 +01:00
Paulus Schoutsen
bc41028800
Some tweaks to the demo (#65623)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-04 09:49:47 +01:00
Raman Gupta
c477378835
Raise when zwave_js device automation fails validation (#65610) 2022-02-04 02:50:47 +01:00
G Johansson
24cd63973d
Add back resolvers config flow dnsip (#65570) 2022-02-03 15:05:56 -08:00
Paulus Schoutsen
157276f4e6
Add a Lovelace cast platform (#65401) 2022-02-03 13:43:23 -08:00
J. Nick Koston
b97cd3ce93
Do not update unifiprotect host from discovery if its not an ip (#65548) 2022-02-03 19:14:36 +01:00
J. Nick Koston
3d8d507ed9
Migrate powerwall from using ip address as unique id (#65257)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 18:39:57 +01:00
mk-maddin
efb6fd1569
Fix script / automation repeat with count 0 fails (#65448)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 08:18:58 -08:00
Jan Bouwhuis
2f0d0998a2
Add Mqtt vacuum unknown state (#65311)
* Add Mqtt vacuum `unknown` status

* Update tests/components/mqtt/test_state_vacuum.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:50:39 +01:00
Jan Bouwhuis
cf52357229
Add MQTT light unknown state support (#65308)
* Add MQTT light unknown sate support

* Update homeassistant/components/mqtt/light/schema_basic.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/schema_json.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/schema_template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update tests for default unknown state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:57 +01:00
Jan Bouwhuis
2d011821ea
Add MQTT humidifier unknown state support (#65302)
* Add MQTT humidifier unknown state support

* Update homeassistant/components/mqtt/humidifier.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Fix tests for changed default optimistic state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:09 +01:00
Jan Bouwhuis
711bd7169e
Add Mqtt Fan unknown state support (#65301)
* Add Mqtt Fan unknown state support

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Adjust default state in tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:48:03 +01:00
Jan Bouwhuis
3d434dffc7
Add support Mqtt switch for unkown state (#65294)
* Mqtt switch allow unkown state

* correct type

* Update discovery tests

* Optimistic mode if not state_topic is configured.

* Default state UNKNOWN in optimistic mode

* fix discovery test
2022-02-03 16:47:24 +01:00
Jan Bouwhuis
63459feede
Return current state if template throws (#65534) 2022-02-03 16:46:36 +01:00
epenet
8234625d30
Use Domain not Platform on test service calls (#65508)
* Adjust atag

* adjust broadlink

* Adjust onewire

* Adjust plex

* Adjust renault

* Adjust tasmota

* Adjust zha

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
Erik Montnemery
63680f0b36
Make util.async_.protect_loop name names (#65493) 2022-02-03 14:06:40 +01:00
epenet
c8504bd21d
Add tests for pylint plugins (#65436)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:02 +01:00
Erik Montnemery
23ee8adf59
Fix flaky homewizard test (#65490) 2022-02-03 09:23:32 +01:00
Erik Montnemery
f3a89de71f
Fix race when handling updated MQTT discovery data (#65415) 2022-02-02 17:12:22 -08:00
Maciej Bieniek
32be5576dc
Get wind speed unit from AccuWeather data (#65425) 2022-02-02 17:07:12 -08:00
Tobias Sauerwein
81ad56b8ad
Add events on cloud connect and disconnect (#65215)
* Add events on cloud connect and disconnect

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Use event capture helper

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Provide listener method instead of public event

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add test for disconnect notification

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Use Enum

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add module level api

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Clean up dead code

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Flake8

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
Erik Montnemery
fda0fbd115
Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:08:48 +01:00
Erik Montnemery
5a34feb7de
Don't warn on time.sleep injected by the debugger (#65420) 2022-02-02 08:58:14 -08:00