Commit Graph

35158 Commits

Author SHA1 Message Date
J. Nick Koston
3f547e58d7 Fix zeroconf test inadvertently matching strings that start with name (#49578)
* Fix zeroconf test inadvertently matching strings that start with name

* adjust

* adjust
2021-04-28 11:47:36 +02:00
J. Nick Koston
14869483ca Fix scrape sensor auth with httpx (#49806) 2021-04-28 11:24:11 +02:00
J. Nick Koston
dcb5b9f8b5 Bump httpx to 0.18.0 and respx to 0.17.0 (#49805) 2021-04-28 11:22:09 +02:00
Raman Gupta
1cb907c2e3 Add zwave_js discovery schema for Vision Security ZL7432 (#49510)
* Add zwave_js discovery schema for Vision Security ZL7432

* add tests

* fix test

* add correct fixture

* Make discussed changes

* fix tests

* move event handler

* fix logic to get entity ID

* add test

* make discovery test more explicit

* remove domain from event data

* always provide entity_id key to make automations easier and translate value if possible

* formatting

* comment

* dont overwrite value
2021-04-28 10:22:54 +02:00
Erik Montnemery
d7247c2ace Correct conversion of RGB and XY colors to RGBW (#49802) 2021-04-28 10:12:20 +02:00
Angelo Gagliano
d6c01cc0e6 Convert DHT to use circuitpython library (#41525)
* Converts DHT to use circuitpython library

* Adds dht requirement to requirements_all

* Cleanup for isort,black and requirements

* Adds validation to prefix with D for PIN

* Sends name over to dhtclient

* Adds exceptions for broad-except

* Adds explict except for raised exception

* Removes unused var

* Moves setting dht var out of try

* Bump to 3.5.8

* Moves non-exception steps to else

* Bump library version

* Bumps version
2021-04-28 09:52:57 +02:00
Matt Zimmerman
17e9e4fa31 update python-smarttub dependency to 0.0.24 (#49800) 2021-04-27 18:06:08 -10:00
Alexei Chetroi
345873f94f Don't bind all clusters unconditionally (#49793) 2021-04-27 20:25:34 -04:00
Erik Montnemery
575b8340fc Fix entity_id change for Google Cast (#49743) 2021-04-28 01:40:41 +02:00
Bram Kragten
a30b21ad50 Update frontend to 20210427.0 (#49794) 2021-04-27 16:02:21 -07:00
Franck Nijhof
89e7983ee0 Add Blueprint foundation to Scripts (#48621)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-04-27 15:15:38 -07:00
Greg Dowling
cd84595429 Rework roon media player grouping to use media_player base services (#49667)
* Add group/join status attributes to roon player.

* Rework join/unjoin code to use base media_player services.

* Switch join and unjoin to be sync.
2021-04-27 23:55:29 +02:00
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
Joakim Sørensen
f6be95eb4c Use machine in name for machine build (#49761) 2021-04-27 15:04:47 +02: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
Pascal Vizeli
4b8e1335bc Fix " on build pipeline (#49756) 2021-04-27 13:45:58 +02:00
dependabot[bot]
238198e05e Update actions/setup-python requirement to v2.2.2 (#49742)
Updates the requirements on [actions/setup-python](https://github.com/actions/setup-python) to permit the latest version.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](dc73133d4d)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 13:24:13 +02:00