Commit Graph

27514 Commits (de6c9e67b193de715baf63124981f4d5c42df47f)

Author SHA1 Message Date
Ville Skyttä 5e00fdccfd
Use ConfigEntry.async_on_unload in UpCloud (#49784) 2021-04-27 21:41:03 +02:00
tkdrob 458ca970c9
Add selectors to profiler services (#49781) 2021-04-27 21:02:48 +02:00
Ben ebbcfb1bc7
Fix and upgrade surepetcare (#49223)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 20:58:52 +02:00
J. Nick Koston 3f3f77c6e6
Reduce config entry setup/unload boilerplate N-P (#49777) 2021-04-27 20:42:21 +02:00
tkdrob 6df19205da
Add selectors to group services (#49779) 2021-04-27 20:37:59 +02:00
tkdrob 81264ff759
Add selectors to synology_dsm services (#49772) 2021-04-27 20:34:21 +02:00
tkdrob 046f02b7b8
Add selectors to device_tracker services (#49780) 2021-04-27 20:31:53 +02:00
Erik Montnemery fdadacd158
Improve color conversion for RGBW lights (#49764) 2021-04-27 20:07:55 +02:00
tkdrob ba76d9f977
Add selectors to zha services (#49773)
* Add selectors to zha services

* Use IEEE
2021-04-27 13:39:41 -04:00
Erik Montnemery ce64690817
Make number of stored traces configurable (#49728) 2021-04-27 10:27:12 -07:00
J. Nick Koston b10534359b
Reduce config entry setup/unload boilerplate K-M (#49775) 2021-04-27 18:49:13 +02:00
tkdrob b5cb9e4ade
Clean up tellduslive constants (#49765) 2021-04-27 18:36:41 +02:00
tkdrob d2d80093a1
Add selector to google assistant services (#49769) 2021-04-27 18:33:52 +02:00
Ruslan Sayfutdinov 2adc6d62e5
Replace .no-strict-typing with .strict-typing (#49762) 2021-04-27 09:13:11 -07:00
David F. Mulcahey a644c2e8ba
Add alarm control panel support to ZHA (#49080)
* start implementation of IAS ACE

* starting alarm control panel

* enums

* use new enums from zigpy

* fix import

* write state

* fix registries after rebase

* remove extra line

* cleanup

* fix deprecation warning

* updates to catch up with codebase evolution

* minor updates

* cleanup

* implement more ias ace functionality

* cleanup

* make config helper work for supplied section

* connect to configuration

* use ha async_create_task

* add some tests

* remove unused restore method

* update tests

* add tests from panel POV

* dynamically include alarm control panel config

* fix import

Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
2021-04-27 10:58:59 -04:00
jjlawren d4ed65e0f5
Add power binary_sensor support to Sonos (#49730)
* Add power binary_sensor support to Sonos

* Prepare for future unloading of config entries

* Remove unnecessary calls to super() inits

* Add binary_sensor to tests, remove invalid test for empty battery payload

* Move sensor added_to_hass to common sensor class

* Avoid dispatching sensors if no battery

* Use proper attributes property

* Remove power source fallback

* Update homeassistant/components/sonos/speaker.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 04:52:05 -10:00
tkdrob 9742bfdf46
Add selectors to wake_on_lan services (#49767) 2021-04-27 16:41:37 +02:00
J. Nick Koston a1fdf84dba
Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02:00
tkdrob 157dd273da
Use core constants for openalpr_cloud (#49755) 2021-04-27 10:05:14 -04:00
tkdrob 978d706b08
Clean up deconz constants (#49754) 2021-04-27 10:05:03 -04:00
tkdrob 664075962f
Clean up profiler constants (#49752) 2021-04-27 10:04:45 -04:00
David F. Mulcahey b91d2be00b
Better ZHA device reconfiguration (#49672)
* initial take

* cleanup

* fix mock for configure_reporting
2021-04-27 10:04:22 -04:00
David F. Mulcahey 6bc0fb2e42
Bump ZHA quirks library (#49757) 2021-04-27 10:02:16 -04:00
Milan Meulemans ff57a5bd7d
Manifest cleanup (#49745)
* Remove empty homekit dict in guardian manifest

* Clean up srp_energy manifest
2021-04-27 13:52:13 +02:00
Vincent Le Bourlot b5fdc05f5f
Fix neato possible None state when creating entity (#49746) 2021-04-27 13:47:20 +02:00
Erik Montnemery 96e7ae94f8
Fix config entry reference for Home Assistant Cast user (#49729)
* Fix config entry reference for Home Assistant Cast user

* Simplify config_entry lookup
2021-04-27 11:20:10 +02:00
Bram Kragten b00ccf98f0
TP Link: Don't report HS when in CT mode (#49704)
* TP Link: Don't report HS when in CT mode

* Update tests
2021-04-27 11:19:21 +02:00
jan iversen e5e215353d
Add swap byte/word/byteword option to modbus sensor (#49719)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 10:49:41 +02:00
J. Nick Koston a67b9eff17
Reduce config entry setup/unload boilerplate D-F (#49733) 2021-04-26 20:46:49 -10:00
Robert Svensson 58ad3b61f7
Entities for secondary temperature values created by certain Xiaomi devices in deCONZ (#49724)
* Create sensors for secondary temperature values created by certain Xiaomi devices

* Fix tests
2021-04-27 08:43:06 +02:00
J. Nick Koston b27e9e376d
Use StaticPool for recorder and NullPool for all other threads with sqlite3 (#49693) 2021-04-26 19:20:31 -10:00
tkdrob d9714e6b79
Use core constants for nad (#49709) 2021-04-26 21:21:41 -05:00
HomeAssistant Azure cd7d3ed12a [ci skip] Translation update 2021-04-27 00:04:45 +00:00
Joakim Sørensen 9d3b5cd0de
Change log severity from warn to error for custom integration version (#49726) 2021-04-26 15:04:39 -07:00
djtimca 2a2e573987
Bump omnilogic dependency to 0.4.5 (#49526) 2021-04-27 00:02:39 +02:00
jjlawren dc50524f32
Cleanup implementation of new Sonos sensors (#49716) 2021-04-26 23:59:04 +02:00
Bram Kragten 9e7d83b2d5
Don't combine old and new value on scene update (#49248) 2021-04-26 23:38:30 +02:00
J. Nick Koston 51be2f860a
Reduce boilerplate to setup config entry platforms A-C (#49681)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
tkdrob 922eec0909
Use core constants for kwb (#49708) 2021-04-26 17:12:36 +02:00
Doomic 41d6d64ca4
Add unique_id to WOL integration (#49604)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 15:55:41 +02:00
tkdrob a7393cd8b4
Add selectors to plex services (#49706) 2021-04-26 15:47:25 +02:00
tkdrob c4f0f818c7
Add selectors to frontend services (#49701)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 15:36:36 +02:00
tkdrob 5b1ed44613
Add selectors to ps4 services (#49702)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 15:35:45 +02:00
tkdrob 639dac1eaa
Add selector to tts services (#49703) 2021-04-26 14:51:28 +02:00
Matthias Alphart 7acb16e2af
KNX Schema improvements (#49678) 2021-04-26 14:36:01 +02:00
tkdrob 70be0561d0
Add selectors to cast services (#49684) 2021-04-26 14:29:38 +02:00
Ruslan Sayfutdinov 37466ae423
Don't ignore mypy errors by default (#49270) 2021-04-26 14:23:21 +02:00
tkdrob 0f220001a0
Add selectors to ecobee services (#49499) 2021-04-26 13:52:17 +02:00
J. Nick Koston 9a6402c1ae
Only compile esphome icon schema once (#49688) 2021-04-26 12:37:13 +02:00
MarBra 1b14a2f54f
Address late review comments for denonavr (#49666)
* denonavr: Add DynamicEQ and Audyssey service

* Remove useless return and entry.option in hass.data

* Remove duplicate translation
2021-04-26 11:22:07 +02:00
Fabian Affolter 940d28960b
Upgrade TwitterAPI to 2.7.2 (#49680) 2021-04-26 07:43:52 +02:00
J. Nick Koston 9222d3e9f9
Ensure hue connection errors are passed to ConfigEntryNotReady (#49674)
- Limits log spam on retry
2021-04-25 16:42:45 -10:00
tkdrob 5a993a3ff3
Use core constants for apprise (#49683) 2021-04-25 20:22:01 -05:00
Alexei Chetroi 4a6bb96a0f
Stop fast polling of a Zigbee device after a check-in command (#49685)
* Stop fast polling after a check-in

* Update tests
2021-04-25 21:15:04 -04:00
HomeAssistant Azure e5e71c2026 [ci skip] Translation update 2021-04-26 00:04:21 +00:00
Kevin Worrel 6f1273cf1c
Refactor screenlogic API data selection (#49682) 2021-04-25 13:17:42 -10:00
Milan Meulemans 73b7a68e97
Fix Rituals battery sensor KeyError (#49661) 2021-04-25 12:47:36 -10:00
J. Nick Koston 855559004b
Drop unneeded async_setup from august (#49675) 2021-04-25 23:13:54 +02:00
jan iversen 33e8553d92
Fix frontend freeze due to modbus device not responding (#49651)
Changing the timeout from package default, secures SENDING will
timeout, and after 3 retries break off.

Remark: this commit is tested with pymodbus v2.5.1 the old version
v2.3.0 have several problems in this area.
self._value = await self.async_get_last_state()

pymodbus v2.5.1 is active on DEV (bumped in an earlier PR).
2021-04-25 23:11:01 +02:00
J. Nick Koston 9689e06d3c
Bump async-upnp-client to 0.16.2 (#49671) 2021-04-25 10:32:39 -10:00
tkdrob d24cbde913
Add target and selectors to sonos services (#49536) 2021-04-25 10:28:42 -10:00
Thibaut f7b72669dc
Don't mark Somfy devices as unavailable (#49662)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 10:28:31 -10:00
Michael a5e25e519f
Remove yaml configuration from fritzbox (#49663) 2021-04-25 09:49:08 -10:00
Ville Skyttä 631ab367e2
Fix typing.Any spelling (#49673) 2021-04-25 09:36:21 -10:00
Simone Chemelli 85438db1ec
Fix Fritz unload (#49669) 2021-04-25 09:07:31 -10:00
Marc Mueller 7b33ed11c2
Fix missing default value in fritz scan_devices (#49668) 2021-04-25 20:28:40 +02:00
jjlawren 3be8c9c1c0
Add battery support for Sonos speakers (#49441)
Co-authored-by: Walter Huf <hufman@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 07:20:21 -10:00
tkdrob 7ecd4f5eed
Fix pylint failures caused by fritz (#49655)
* Fix test failures caused by fritz
* Fix typing.Any

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-04-25 15:48:03 +02:00
Dermot Duffy 3077363f44
Supplementary fixes to new motionEye integration (#49626) 2021-04-25 15:27:46 +02:00
jan iversen 914451d99c
Remove dead code in modbus sensor and 100% test coverage (#49634) 2021-04-25 15:25:02 +02:00
J. Nick Koston 0862212942
Switch screenlogic discovery to use async version (#49650) 2021-04-25 12:41:40 +02:00
J. Nick Koston 3fa8ffa731
Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Simone Chemelli b92f29997e
Rework Fritz config_flow and device_tracker (#48287)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-25 00:10:33 -10:00
J. Nick Koston 376b787e4d
Skip recorder commit if there is nothing to do (#49614) 2021-04-25 12:05:49 +02:00
starkillerOG 3e3cd0981d
Reduce hue gamut warning to debug (#49624) 2021-04-25 11:50:08 +02:00
J. Nick Koston e2837f08e8
Small cleanups for august (#49493) 2021-04-25 11:32:34 +02:00
Ville Skyttä 153d6e891e
Use config_entries.SOURCE_* constants (#49631) 2021-04-25 11:27:40 +02:00
Shay Levy 34a588d1ba
Fix Shelly button first trigger (#49635) 2021-04-24 21:47:18 -07:00
J. Nick Koston aaba9766ff
Bump scapy to 2.4.5 for dhcp (#49437) 2021-04-24 15:16:52 -10:00
Daniel Pervan f11834d85c
Fix August Type error (#49636) 2021-04-24 14:40:39 -10:00
Michael a352516944
Implement DataUpdateCoordinator to fritzbox integration (#49611) 2021-04-24 14:40:12 -10:00
Marc Mueller f1d48ddfe3
Update pylint to 2.8.0 (#49637) 2021-04-24 14:39:24 -10:00
HomeAssistant Azure 28eaa67986 [ci skip] Translation update 2021-04-25 00:04:46 +00:00
jan iversen 49c23bad29
Revert "Remove HomeAssistantType from typing.py as it is no...2 (#49617)
This reverts commit 39cb22374d.

Added comment that HomeAssistantType is not to be used, but only
kept in order not to break custom components.
2021-04-24 09:10:07 -10:00
Olivér Falvai 46ef85f471
Add new Huawei LTE sensor metadata, improve icons (#49436) 2021-04-24 18:41:15 +03:00
Paulus Schoutsen dcee78b747
Template sensor/binary sensors without trigger now respect section unique id (#49613) 2021-04-24 07:14:31 -07:00
Robert Svensson b0fecdcc3d
Add entity service for deCONZ alarm control panel to control states used to help guide user transition between primary states (#49606) 2021-04-24 15:46:16 +02:00
Matthias Alphart 671148b6ca
Update xknx to version 0.18.1 (#49609) 2021-04-24 14:18:14 +02:00
J. Nick Koston 9a7d500b80
Cancel august interval track at stop event (#49198) 2021-04-24 14:13:25 +02:00
Dermot Duffy bbe58091a8
Create a motionEye integration (#48239) 2021-04-23 23:00:28 -07:00
Franck Nijhof a380632384
Upgrade watchdog to 2.0.3 (#49594) 2021-04-23 18:12:08 -10:00
Jakub Bartkowiak 33d4d545a7
Fix charging error in Roomba integration (#49416) 2021-04-23 17:22:56 -10:00
Paulus Schoutsen 0072923fbe Bump frontend to 20210423.0 2021-04-23 20:10:58 -07:00
HomeAssistant Azure 32dfaccf1f [ci skip] Translation update 2021-04-24 00:03:34 +00:00
Daniel Hjelseth Høyer 694a163124
Update met.no library (#49607) 2021-04-23 11:29:20 -10:00
Joakim Sørensen 019484f148
Use dev endpoint for dev installations (#49597) 2021-04-23 20:57:10 +02:00
Erik Montnemery 8013eb0e08
Allow data entry flows to hint for additional steps (#49202) 2021-04-23 11:02:12 -07:00
Paulus Schoutsen a6d87b7fae
Batch Google Report State (#49511)
* Batch Google Report State

* Fix batching
2021-04-23 10:56:23 -07:00
Guido Schmitz c6edc7ae4f
Clean up devolo Home Control config flow (#49585) 2021-04-23 13:48:24 +02:00
tkdrob 50d2c3bfe3
Add target and selectors to remote services (#49384) 2021-04-23 11:25:53 +02:00