Commit graph

10282 commits

Author SHA1 Message Date
epenet
bac3c1fd75
Use DhcpServiceInfo in verisure tests (#60117)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:47:32 +01:00
Erik Montnemery
0df2904b89
Improve some entity registry tests (#59902) 2021-11-22 10:24:37 +01:00
epenet
382efef2e2
Use DhcpServiceInfo in squeezebox (#60100) 2021-11-21 16:33:44 -06:00
epenet
4e1089cedb
Use DhcpServiceInfo in somfy_mylink (#60099) 2021-11-21 16:33:34 -06:00
epenet
8f7f32d844
Use DhcpServiceInfo in screenlogic (#60103) 2021-11-21 16:33:26 -06:00
epenet
4555820987
Use ZeroconfServiceInfo in shelly (#60098) 2021-11-21 16:33:20 -06:00
epenet
fa9465d003
Use ZeroconfServiceInfo in system_bridge (#60102) 2021-11-21 16:33:06 -06:00
epenet
a72a5486c2
Use ServiceInfo in samsungtv tests (#60097) 2021-11-21 16:00:59 -06:00
epenet
1c15544d7a
Use ZeroconfServiceInfo in smappee (#60096) 2021-11-21 15:50:29 -06:00
epenet
b465131170
Use ZeroconfServiceInfo in sonos (#60095) 2021-11-21 15:49:50 -06:00
epenet
b9cbfbae58
Use ZeroconfServiceInfo in nut (#60047) 2021-11-21 15:49:03 -06:00
epenet
2675c6d408
Use DhcpServiceInfo in axis (#60092)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-21 15:39:37 -06:00
epenet
7560f11680
Use ZeroconfServiceInfo in roku (#60053) 2021-11-21 11:27:35 -06:00
epenet
2270e920c3
Use ZeroconfServiceInfo in modern_forms (#60043) 2021-11-21 17:37:09 +01:00
epenet
95075448bd
Use DhcpServiceInfo in nuki (#60046) 2021-11-21 17:35:51 +01:00
epenet
36a67d060b
Use ZeroconfServiceInfo in octoprint (#60049) 2021-11-21 17:35:24 +01:00
epenet
c3e9c1a7e8
Use DhcpServiceInfo in powerwall (#60051) 2021-11-21 07:56:22 -06:00
epenet
8ec30aa9ad
Use ZeroconfServiceInfo in rachio (#60054) 2021-11-21 07:55:54 -06:00
epenet
435eb97495
Use DhcpServiceInfo in roomba (#60056) 2021-11-21 07:54:39 -06:00
epenet
25e5263954
Use ZeroconfServiceInfo in nanoleaf (#60045) 2021-11-21 07:51:50 -06:00
Dan Klaffenbach
56e93ff0ec
Add support for HEOS groups (#32568)
* Add support for grouping HEOS media players

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/heos/media_player.py

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Handle groups at controller level, refine tests.

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>

* Fix linting issues

* Update homeassistant/components/heos/media_player.py

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

* Update homeassistant/components/heos/media_player.py

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

* Rename variables and improve resolving of entity_ids

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

* Don't patch internal methods

Use the pytest fixtures which have already been defined for this.

* Fix linting issues

* Remove unused property

* Ignore groups with unknown leader

This makes sure that the group_members attribute won't contain a `None`
value as a leader entity_id.

* Don't call force_update_groups() from tests

* Don't pass `None` player ids to HEOS API

* Use signal for group manager communication

* Use imports for async_dispatcher_send/async_dispatcher_connect

* Raise exception when leader/player could not be resolved

* Disconnect signal handlers, avoid calling async_update_groups too early

* Update homeassistant/components/heos/__init__.py

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

Co-authored-by: Andrew Sayre (he/his/him) <6730289+andrewsayre@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-21 12:57:31 +01:00
epenet
ba93a384a7
Use ZeroconfServiceInfo in nam (#60044) 2021-11-21 10:25:34 +01:00
epenet
3cdca4a657
Use ZeroconfServiceInfo in netatmo tests (#60048) 2021-11-21 08:40:46 +01:00
epenet
85b37a8532
Use ZeroconfServiceInfo in rainmachine (#60055) 2021-11-21 08:08:45 +01:00
Marcel van der Veldt
4820acb897
Fix for deviceless entities in Hue integration (#59820) 2021-11-20 14:45:51 -08:00
Marcel van der Veldt
902da4daf8
Add integration_entities template helper (#59841) 2021-11-20 14:43:31 -08:00
epenet
df3f3321f2
Use ZeroconfServiceInfo in hue (#59980)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-20 14:39:14 -08:00
Jared Hobbs
6d4b74f8f2
Add haa vendor extensions (#59750)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-20 09:22:10 -06:00
Franck Nijhof
70990ebf81
Add WLED Live Override controls (#59783) 2021-11-20 09:15:47 -06:00
Franck Nijhof
25f491ad16
Add WLED reverse effect switch (#59778) 2021-11-20 08:57:47 -06:00
Marvin Wichmann
e5c33474e3
Add config and options flow to KNX integration (#59377) 2021-11-20 11:30:41 +01:00
epenet
d0ff8a9b76
Add id constant for homekit discovery (#59986) 2021-11-20 10:07:59 +00:00
epenet
386520b883
Use ZeroconfServiceInfo in ipp (#59983)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:34 -06:00
epenet
e3ee19d0c4
Use ZeroconfServiceInfo in kodi (#59984)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 10:16:28 -06:00
epenet
8a4d3b2a2e
Use ZeroconfServiceInfo in lookin (#59987)
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 (#59809) 2021-11-19 10:14:12 -06:00
epenet
9aa41be8b7
Use ZeroconfServiceInfo in lutron_caseta (#59988)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 09:36:18 -06:00
starkillerOG
2b7bcd6aeb
Yeelight disable polling (#59885)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-19 09:02:07 -06:00
epenet
14d4a9a69d
Use DhcpServiceInfo in isy994 (#59982)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:14:25 -06:00
epenet
982f2065c8
Use ZeroconfServiceInfo in homekit_controller (#59979)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 08:13:56 -06:00
epenet
d6c5aaa0cb
Use ServiceInfo in hunterdouglas_powerview (#59981)
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 (#59912)
* 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 (#59962)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:49:28 +01:00
epenet
f17d58a049
Use DhcpServiceInfo in emonitor (#59965)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:48:51 +01:00
epenet
cb306236f2
Use DhcpServiceInfo in flux_led (#59967)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:37:59 +01:00
epenet
59547289b4
Use DhcpServiceInfo in broadlink (#59961)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:29:20 +01:00
epenet
2aa8c2cf74
Use DhcpServiceInfo in gogogate2 (#59968)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:19:37 +01:00
epenet
e7013f468c
Use DhcpServiceInfo in goalzero tests (#59969)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:56 +01:00
epenet
01fea8bbdd
Use DhcpServiceInfo in guardian tests (#59970)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:18:32 +01:00
epenet
e23cc3ecbf
Optimise use of ZeroconfServiceInfo (#59966)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 12:17:49 +01:00