Commit Graph

27474 Commits (3fda66d9e2cc9dc1347be178b0f5747d7b62a32c)

Author SHA1 Message Date
Dermot Duffy 3fda66d9e2
Change motionEye to use a two item device identifier tuple (#49774)
* Change to a two item device identifier tuple.

* Don't use join.
2021-04-27 23:48:27 +02:00
Maciej Bieniek 513685bbea
Add dynamic update interval to Airly integration (#47505)
* Add dynamic update interval

* Update tests

* Improve tests

* Improve comments

* Add MAX_UPDATE_INTERVAL

* Suggested change

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

* Use async_fire_time_changed to test update interval

* Fix test_update_interval

* Patch dt_util in airly integration

* Cleaning

* Use total_seconds instead of seconds

* Fix update interval test

* Refactor update interval test

* Don't create new context manager

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 23:34:53 +02:00
Ville Skyttä 9db6d0cee4
Huawei LTE unload cleanups (#49788) 2021-04-27 23:08:14 +02:00
tkdrob c193f8fd18
Clean up intent_script (#49770) 2021-04-27 22:55:26 +02:00
J. Nick Koston f9a2c1cfd5
Reduce config entry setup/unload boilerplate V-Z (#49789) 2021-04-27 22:51:11 +02:00
Tom Toor a57761103c
Mutesync integration (#49679)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-27 13:44:59 -07:00
Kevin Worrel 41c6474249
Add Screenlogic IntelliChem and SCG data (#49689) 2021-04-27 10:43:48 -10:00
J. Nick Koston 4b74c57285
Reduce config entry setup/unload boilerplate T-U (#49786) 2021-04-27 22:19:57 +02:00
J. Nick Koston 87420627a8
Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
Erik Montnemery d2fd504442
Limit precision when stringifying float states (#48822)
* Limit precision when stringifying float states

* Add test

* Fix typing

* Move StateType

* Update

* Move conversion to entity helper

* Address review comments

* Tweak precision

* Tweak

* Make _stringify_state an instance method
2021-04-27 21:48:24 +02:00
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