Commit graph

8998 commits

Author SHA1 Message Date
Simone Chemelli
e673d9dbd0
Fix missing mocking (#60181) 2021-11-23 11:56:16 +01:00
Ville Skyttä
39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
Franck Nijhof
42ed6ddba3
Add button support to Google Assistant (#60158) 2021-11-22 20:50:21 -08:00
J. Nick Koston
7359083e98
Remove legacy executor usage from HomeKit tests (#60180) 2021-11-22 22:37:28 -06:00
Aaron Bach
0e4de42539
Alter RainMachine to enable/disable program/zones via separate switches (#59617) 2021-11-22 20:47:01 -07:00
J. Nick Koston
4af5cde738
Include model name in flux_led discovery when available (#60105) 2021-11-22 20:21:46 -06:00
J. Nick Koston
cb3b19b000
Add support for adjusting flux_led effects speed (#59679) 2021-11-22 16:52:06 -08:00
Tim Rightnour
3639481027
Add sensors to venstar integration (#58851) 2021-11-22 18:05:12 -06:00
Franck Nijhof
766c889e70
Add button support to HomeKit (#60165)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-23 00:46:51 +01:00
Ville Skyttä
053c456199
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
Erik Montnemery
4a5238efa5
Add support for calculating daily and monthly fossil energy consumption (#59588) 2021-11-22 09:10:54 -08:00
Erik Montnemery
49a27e12ad
Add support to entity registry for overriding device_class (#59985) 2021-11-22 08:38:06 -08:00
Franck Nijhof
69b7495324
Sensor: Handle local->UTC conversion and reject timezoneless timestamps (#59971) 2021-11-22 17:04:06 +01:00
epenet
7e1b00c491
Use ZeroconfServiceInfo in wled (#60130)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:19:54 -06:00
epenet
c8451001a0
Use ZeroconfServiceInfo in xiaomi_aqara (#60131)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:19:01 -06:00
epenet
2cd241ff0a
Use ZeroconfServiceInfo in xiaomi_miio (#60132)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:18:22 -06:00
epenet
8b26b69366
Use ServiceInfo in yeelight (#60127)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:15:14 -06:00
Hans Oischinger
38b976e6d6
Add vicare config flow (#56691)
* Configuration via UI

Config flow / YAML deprecation
- Support discovery via MAC address
- Support import of YAML config
- Switch to ConfigEntry, get rid of platform setup

* Fix review comments

* More tests for vicare yaml import
2021-11-22 15:06:42 +01:00
h2zero
3b5a7d001f
Fix Konnected DS18B20 poll interval (#59954)
* Konnected - Fix DS18B20 poll interval.

The poll interval for the DS18B20 was not being sent to the device.

* Fix tests
2021-11-22 14:01:37 +01:00
Franck Nijhof
d95c615f86
Add binary sensor platform to WLED (#59798) 2021-11-22 13:22:43 +01:00
epenet
10d0870198
Use ZeroconfServiceInfo in plugwise (#60050) 2021-11-22 12:35:52 +01:00
Franck Nijhof
8b30cb509f
Cleanup customize API endpoint (#59824) 2021-11-22 12:01:56 +01:00
epenet
39149e19f7
Use ZeroconfServiceInfo in tado (#60111)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:54:15 +01:00
epenet
eb70d328ca
Use DhcpServiceInfo in tplink (#60114)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:51:47 +01:00
epenet
70f43a1415
Use ZeroconfServiceInfo in tradfri (#60112)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:49:37 +01:00
epenet
5a40322cda
Use ZeroconfServiceInfo in volumio (#60116)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 11:48:06 +01:00
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