Commit Graph

32644 Commits (39f5eba97d139e292136f08d488d243c01087d2b)

Author SHA1 Message Date
Michael 6588879b6e
Use native datetime value in AVM Fritz!Tools sensors (#60233) 2021-11-23 21:20:51 +01:00
Michael 9a328eae67
Use native datetime value in Synology DSM sensors (#60176) 2021-11-23 20:03:22 +01:00
Maikel Punie c27948a82a
Fully migrate to attribute shorthand in velbus (#59797)
* Move velbus completly to _attr instead of propertys

* Commit all sugestions

* One more sugestion

* Fixed light.py
2021-11-23 12:10:03 -06:00
J. Nick Koston 881d35ab17
Split up yeelight code into multiple files (#59990) 2021-11-23 11:56:07 -06:00
J. Nick Koston 6524cd4eb2
Fix user input malformed with deleted entities in HomeKit exclude flow (#60061) 2021-11-23 11:46:54 -06:00
J. Nick Koston 400aaeaa91
Ensure homekit setup messages run in event loop (#60226) 2021-11-23 11:40:20 -06:00
epenet cbbf22db52
Use dataclass for UsbServiceInfo (#60140)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:51:54 -06:00
Franck Nijhof 7a0ff4e2e1
Add button support to Alexa (#60163) 2021-11-23 08:19:13 -08:00
Michael e3910856ad
Use native datetime value in Shelly sensors (#60179)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-23 08:18:58 -08:00
Raman Gupta d249743ccf
Bump zwave-js-server-python to 0.33.0 (#60213) 2021-11-23 10:53:46 -05:00
epenet f6bbdec6cb
Use BaseServiceInfo inheritance in MqttServiceInfo (#60207)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 16:52:33 +01:00
Erik Montnemery 7e08238cd8
Bump pychromecast to 10.1.1 (#60214) 2021-11-23 09:38:31 -06:00
micha91 e615e70e49
Add Yamaha MusicCast zone specific devices (#58285) 2021-11-23 16:29:34 +01:00
epenet 560546f65e
Use dataclass for DhcpServiceInfo (#60136)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 13:35:53 +01:00
Ville Skyttä 39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
Erik Montnemery ca20fc857f
Remove via_device links when a device is removed (#60153)
* Remove via_device links when a device is removed

* Update test
2021-11-23 09:36:03 +01:00
epenet 3b0d984959
Use dataclass for MqttServiceInfo (#60191)
* Use dataclass for MqttServiceInfo

* Drop test exception

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:01:40 +01:00
Franck Nijhof 42ed6ddba3
Add button support to Google Assistant (#60158) 2021-11-22 20:50:21 -08:00
Aaron Bach 0e4de42539
Alter RainMachine to enable/disable program/zones via separate switches (#59617) 2021-11-22 20:47:01 -07:00
Paulus Schoutsen 4ff3b2e9a9
Bump frontend to 20211123.0 (#60184) 2021-11-22 19:07:27 -08: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
Milan Meulemans 5550b5445b
Add Button platform to Nanoleaf (#60169)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-11-23 01:26:37 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00: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
Erik Montnemery f510534c58
Bump entity registry version to 1.3 (#60164) 2021-11-22 13:38:51 -06:00
Aaron Bach c87ab574a7
Fix bug with how SimpliSafe lock's respond to websocket events (#60152) 2021-11-22 12:28:22 -07:00
Aaron Bach 93ad486439
Fix missing pending state for SimpliSafe (#60151) 2021-11-22 12:24:51 -07:00
Milan Meulemans 637b6bbb97
Upgrade aionanoleaf to 0.0.4 (#60160) 2021-11-22 19:49:24 +01:00
Erik Montnemery 39d6aba3bc
Improve startup of unavailable template entities (#59827) 2021-11-22 09:20:38 -08: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
epenet 67e13b35db
Revert "Create new usb constants (#60086)" (#60137)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 10:28:10 -06: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
Cliffano Subagio a7382c8092
Fix KeyError when Twitter app permission is set to Read (#60018) 2021-11-22 14:38:36 +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
jan iversen 5608b4fb18
Update CODEOWNERS for tradfri (#60023)
Co-authored-by: rianadon <ryanadolf123@gmail.com>
2021-11-22 13:43:04 +01:00
Franck Nijhof d95c615f86
Add binary sensor platform to WLED (#59798) 2021-11-22 13:22:43 +01:00
Glenn Waters 65d1f8183f
Fix Environment Canada server loading (#60087)
* Reduce number of requests hitting EC servers.

* Bump lib.
2021-11-22 12:40:25 +01:00
epenet 10d0870198
Use ZeroconfServiceInfo in plugwise (#60050) 2021-11-22 12:35:52 +01:00
G Johansson 29761e6eef
Fix logger setting Yale Smart Living (#60033) 2021-11-22 12:17:55 +01:00
Aaron Godfrey c70a7020f5
Fix todoist due_today attribute for calendar events (#60038)
The attribute was comparing a UTC date to a local date which caused the
attribute to not be true in some cases.
2021-11-22 12:03:56 +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 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
Aaron Bach 1da251860e
Fix bugs causing SimpliSafe entities to incorrectly show `unavailable` (#59955) 2021-11-21 21:32:03 -07:00
Simone Chemelli 82a422930b
Honor "Enable newly added entities" for Fritz (#59948) 2021-11-21 18:51:48 -06:00
RenierM26 02b72d8c23
Bump ezviz api 0.2.0.5 (#60090) 2021-11-21 18:51:22 -06:00
jjlawren aa5cf175f4
Set Sonos availability based on activity and discovery (#59994) 2021-11-21 18:48:57 -06:00
epenet 263101b2ab
Create new usb constants (#60086) 2021-11-21 18:14:42 -06:00
GitHub Action 31d4239b64 [ci skip] Translation update 2021-11-22 00:13:02 +00:00
ollo69 176245e5be
Use format_mac for AsusWRT ScannerEntity Mac Address (#54959)
* Use format_mac for AsusWRT ScannerEntity mac

* Fix after rebase

* Change check for duplicated entities
2021-11-21 14:45:40 -08:00
jugla e4931e242a
Allow atome reauthentication on error (#59452)
* allow reauthentification on error

* Allow reauthentification on error

* allow reauthentification on error

* allow reauthentification on error

* Set one fonction for day/month/week/year and allow retry on error

* allow retry and manage return status

* local variable in retrieve_period_usage_with_retry

* Use If statement rather than exception

* remove blank

* code format

* Reduce variable

* remove useless variable

* get method return false and pylint no else-return

* remove blank

* trailing white space
2021-11-21 14:38:37 -08:00
Simone Chemelli c4128f853d
Add climate platform to Shelly (#59712)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-21 16:34:00 -06: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 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 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
G Johansson 0dece582e4
Improve coordinator for yale_smart_alarm (#54091)
* Commit coordinator adjustments

* Review changes
2021-11-21 12:11:36 +01:00
Daniel Perna 9197512ed1
Fix Sensors for HmIP-DLD (#59804) 2021-11-21 12:09:55 +01:00
epenet ba93a384a7
Use ZeroconfServiceInfo in nam (#60044) 2021-11-21 10:25:34 +01:00
Simone Chemelli f606ba3b23
Detail reason for ConfigEntryNotReady (#60062) 2021-11-21 10:25:18 +01:00
Allen Porter 7e0ddd1d8c
Bump google-nest-sdm to 0.4.0 (#60068)
Full changelog: https://github.com/allenporter/python-google-nest-sdm/compare/0.3.9...0.4.0

All changes are in new code and is expected to be a no-op for the current code.

This release introduces a new API for fetching events for upcoming features in Home Assistant,
namely fetching camera clips for battery cameras. The new API is uniform across old and new
cameras.
2021-11-21 08:10:09 +01:00
epenet 85b37a8532
Use ZeroconfServiceInfo in rainmachine (#60055) 2021-11-21 08:08:45 +01:00
Avi Miller e056f9aa0f
Explicitly cast the SOMA API response to an integer (#60071)
This resolves the `TypeError: unsupported operand type(s) for -: 'int'
and 'str'` error.

Fixes #60070.

Signed-off-by: Avi Miller <me@dje.li>
2021-11-20 22:31:45 -08:00
Simone Chemelli 23f37d0127
Bump aioshelly to 1.0.5 (#60058) 2021-11-20 16:59:45 -08:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
Marcel van der Veldt 7161a0bf2a
Add guard for already migrated Hue entity (#59930)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-20 14:46:11 -08: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
J. Nick Koston 2412afbacd
Add configuration_url to lutron_caseta (#60015) 2021-11-20 09:45:25 -06:00
Marvin Wichmann 769661adc3
KNX christmas cleaning #2 - remove old migrations (#60026)
* Remove old migrations from KNX integration

* Remove cover migration
2021-11-20 16:34:59 +01: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
Marvin Wichmann 1d63ae8696
Code quality improvements for KNX integration (#60024) 2021-11-20 16:15:33 +01:00
Franck Nijhof 25f491ad16
Add WLED reverse effect switch (#59778) 2021-11-20 08:57:47 -06:00
J. Nick Koston bf79db4226
Add harmony configuration url (#60014) 2021-11-20 08:34:09 -06:00
Ville Skyttä f305d99af9
Add integration filtering and error if core options to helpers.frame.report (#60009)
Reduces some existing and upcoming boilerplate.
2021-11-20 12:53:04 +02:00