Commit graph

9952 commits

Author SHA1 Message Date
Marvin Wichmann
e5c33474e3
Add config and options flow to KNX integration () 2021-11-20 11:30:41 +01:00
epenet
d0ff8a9b76
Add id constant for homekit discovery () 2021-11-20 10:07:59 +00:00
epenet
386520b883
Use ZeroconfServiceInfo in ipp ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:34 -06:00
epenet
e3ee19d0c4
Use ZeroconfServiceInfo in kodi ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:28 -06:00
epenet
8a4d3b2a2e
Use ZeroconfServiceInfo in lookin ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:07 -06:00
jjlawren
81e02a39df
Ignore non-Sonos SSDP devices with Sonos-like identifiers () 2021-11-19 10:14:12 -06:00
epenet
9aa41be8b7
Use ZeroconfServiceInfo in lutron_caseta ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 09:36:18 -06:00
starkillerOG
2b7bcd6aeb
Yeelight disable polling ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-19 09:02:07 -06:00
epenet
14d4a9a69d
Use DhcpServiceInfo in isy994 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:14:25 -06:00
epenet
982f2065c8
Use ZeroconfServiceInfo in homekit_controller ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:13:56 -06:00
epenet
d6c5aaa0cb
Use ServiceInfo in hunterdouglas_powerview ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:12:31 -06:00
Erik Montnemery
c557da028a
Bump entity_registry store version to 1.2 ()
* Bump entity_registry store version to 1.2

* Migrate also when importing yaml

* Adjust tests

* Satisfy pylint

* Fix typing
2021-11-19 14:25:34 +01:00
epenet
45d41e584f
Use DhcpServiceInfo in dhcp tests ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:49:28 +01:00
epenet
f17d58a049
Use DhcpServiceInfo in emonitor ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:48:51 +01:00
epenet
cb306236f2
Use DhcpServiceInfo in flux_led ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:37:59 +01:00
epenet
59547289b4
Use DhcpServiceInfo in broadlink ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:29:20 +01:00
epenet
2aa8c2cf74
Use DhcpServiceInfo in gogogate2 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:19:37 +01:00
epenet
e7013f468c
Use DhcpServiceInfo in goalzero tests ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:56 +01:00
epenet
01fea8bbdd
Use DhcpServiceInfo in guardian tests ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:32 +01:00
epenet
e23cc3ecbf
Optimise use of ZeroconfServiceInfo ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:17:49 +01:00
rianadon
ecf00a1eae
Add accumulated precipitation to unit system ()
* Add accumulated precipitation to unit system

* Fix template test

* Fix typo of testing pressure instead of precipitation

* Add extra arguments so unit system test passes
2021-11-19 09:18:44 +01:00
Franck Nijhof
073bf6d6fd
Use native datetime value inMobile App sensors () 2021-11-18 22:36:28 -08:00
Daniel Hjelseth Høyer
a3d5aec778
Mill local access ()
* Mill local

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

* Mill local

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

* Mill local

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

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Update homeassistant/components/mill/config_flow.py

Co-authored-by: Allen Porter <allen@thebends.org>

* Fix review comments

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

* coveragerc

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

* Fix review comments

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

* Fix review comments

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

* Fix review comments

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

Co-authored-by: Allen Porter <allen@thebends.org>
2021-11-18 21:44:45 -08:00
Nathan Spencer
406cbcfe2d
Use an assumed switch state until refresh callback is complete () 2021-11-18 21:29:38 -08:00
J. Nick Koston
347c4ea137
Bump zeroconf to 0.37.0 () 2021-11-18 20:23:20 -08:00
Robin Dupont
4598353315
Add apparent_power for ZHA ElectricalMeasurement ()
* Add apparent_power for ZHA ElectricalMeasurement

* Add apparent_power to REPORT_CONFIG

* update device list with apparent_power attribute

* update test decorators for apparent_power

* remove comments

* Add test for apparent_power in test_sensor
2021-11-18 19:43:08 -05:00
Paulus Schoutsen
442597928e
Store: copy pending data () 2021-11-18 15:56:22 -08:00
J. Nick Koston
0fb21af07f
Strip out deleted entities when configuring homekit () 2021-11-18 15:21:51 -08:00
Eduard van Valkenburg
958c199d80
Brunt package update with async, data update coordinator and config flow ()
* implemented config_flow and dataupdatecoordinator

* implemented config flow, dataupdatecoordinator and tests.

* undid extra vscode task

* fixed pylint errors

* updates based on review

* fix mypy in reauth

* fast interval to 5 sec

* fixed test patches and others from review

* added released package

* deleted wrong line from coveragerc

* updates to config and tests

* fixed test patch
2021-11-18 23:00:42 +01:00
epenet
9ccee205ca
Use ZeroconfServiceInfo in gogogate2 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-18 12:14:00 -06:00
Erik Montnemery
d18c250acf
Add minor version support to storage.Store () 2021-11-18 17:15:40 +01:00
rianadon
7cc7bbb76d
Add speed to units system ()
* Use speed units in unit system

* Use more obvious conversion factor for unit system speed test

* Use wind_speed instead of speed, use m/s
2021-11-18 16:08:42 +01:00
Franck Nijhof
01efe1eba2
Add datetime object as valid StateType ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-18 14:11:44 +01:00
Erik Montnemery
bfafeb7965
Don't mock all of pychromecast in tests () 2021-11-18 11:28:35 +01:00
alim4r
e180f1e302
Add input_number state to prometheus metrics ()
* Add input_number to prometheus metrics

* Add prometheus input_number tests

* Removed unused import from test
2021-11-17 19:35:48 -08:00
Maciej Bieniek
1c11e7061d
Bump Nettigo Air Monitor backend library () 2021-11-17 19:00:19 -06:00
Robert Svensson
29e0ef604e
Add typing to deCONZ Climate and Cover platforms () 2021-11-17 15:08:37 +01:00
Thomas Dietrich
0ab3b10aed
Allow selection of statistics state characteristic ()
* Make statistics state characteristic selectable

* Move computation in helper function

* Add relevant config elements for clarity

* Rename variables for better readability

* Avoid reserved prefix ATTR_ for stats

* Fix NoneType base_unit error

* Add testcases for statistics characteristic

* Add testcases for state_class, unitless, and characteristics

* Add testcase coverage for no unit with binary

* Replace error catching by an exception

* Attend to review comments
2021-11-17 12:31:32 +01:00
Erik Montnemery
593bc866f0
Bump pychromecast to 10.1.0 ()
* Prepare for pychromecast 10

* Bump pychromecast to 10.0.0

* Bump pychromecast to 10.1.0

* Update homeassistant/components/cast/discovery.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-17 09:05:25 +01:00
Milan Meulemans
f8501ded0e
Add entity_category to Rituals Entities () 2021-11-16 14:37:28 -06:00
Marcel van der Veldt
e1e6925097
Refactor of Hue integration with full V2 support ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:59:17 -08:00
Franck Nijhof
9faf3996db
Add WLED firmware upgrade button () 2021-11-16 19:58:04 +01:00
Joakim Plate
f0b3fbc5a7
Always fire event for known devices in rfxtrx () 2021-11-16 19:03:18 +01:00
Erik Montnemery
fa952364cc
Remove test_check_package_version_does_not_match () 2021-11-16 07:54:08 -08:00
Robert Hillis
14adcbc07c
Add tests for goalzero ()
* Add tests for goalzero

* tweak

* tweak
2021-11-16 07:18:30 -08:00
David Beitey
1bcd62cd32
Add topic_template for mqtt.publish ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:13:54 +01:00
Simone Chemelli
8a02d87a17
Removed deprecated "device_state_attributes" for Amberelectric ()
* Removed deprecated "device_state_attributes"

* Cleanup

* Postpone removal

* log deprecation warning

* Update homeassistant/helpers/entity.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-16 16:11:46 +01:00
Erik Montnemery
4f01631bd6
Allow triggering on all state changes, ignoring attributes ()
* Allow triggering on all state changes, ignoring attributes

* Add comment

* Apply suggestions from code review

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-16 08:35:52 +01:00
Michael
771922b871
Add support for property attribute shorthand in Fan entity () 2021-11-16 01:25:22 +01:00
Matthias Alphart
c0a8cea6fb
Fix KNX individual light tests () 2021-11-16 00:02:39 +01:00