Commit Graph
8166 Commits
Author SHA1 Message Date
J. Nick Koston 3f3f77c6e6 Reduce config entry setup/unload boilerplate N-P (#49777) 2021-04-27 20:42:21 +02:00
Erik Montnemery fdadacd158 Improve color conversion for RGBW lights (#49764) 2021-04-27 20:07:55 +02: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
David F. MulcaheyandAlexei Chetroi 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
jjlawrenandMartin Hjelmare 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
J. Nick Koston a1fdf84dba Reduce config entry setup/unload boilerplate G-J (#49737) 2021-04-27 16:09:59 +02: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
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 iversenandMartin Hjelmare 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
jan iversen 677d8e9a89 Add restore last state test to modbus sensor (#49721) 2021-04-27 00:20:50 +02:00
jjlawren dc50524f32 Cleanup implementation of new Sonos sensors (#49716) 2021-04-26 23:59:04 +02:00
J. Nick KostonandFranck Nijhof 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
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
J. Nick Koston 855559004b Drop unneeded async_setup from august (#49675) 2021-04-25 23:13:54 +02: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
Marc Mueller 510a3ae915 Improve zeroconf test fixture (#49657) 2021-04-25 08:16:38 -10:00
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
Dermot Duffy 3077363f44 Supplementary fixes to new motionEye integration (#49626) 2021-04-25 15:27:46 +02:00
J. Nick Koston 0862212942 Switch screenlogic discovery to use async version (#49650) 2021-04-25 12:41:40 +02:00
J. Nick KostonandFranck Nijhof 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 ChemelliandJ. Nick Koston 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 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
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
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
Dermot Duffy bbe58091a8 Create a motionEye integration (#48239) 2021-04-23 23:00:28 -07:00
Jakub Bartkowiak 33d4d545a7 Fix charging error in Roomba integration (#49416) 2021-04-23 17:22:56 -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
jan iversen 9685cefba4 Integrations h* - i*: Rename HomeAssistantType to HomeAssistant. (#49587) 2021-04-23 10:11:58 +02:00
Ville SkyttäandJ. Nick Koston a396619251 Use disabled_by constants (#49584)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
jan iversen d52bc2373f Integrations i* - m*: Rename HomeAssistantType to HomeAssistant. (#49586) 2021-04-23 09:55:20 +02:00
jan iversen 017e32a0cb Integrations h*: Rename HomeAssistantType to HomeAssistant. (#49590) 2021-04-23 09:49:02 +02:00
Erik Montnemery a5a3c98aff Make lights supporting rgbw and rgbww accept colors (#49565)
* Allow lights supporting rgbw and rgbww accepting colors

* Tweak, update tests
2021-04-23 09:25:37 +02:00
Paulus Schoutsen 265fdea83b Allow config entries to store a reason (#49581) 2021-04-23 09:23:43 +02:00
Thomas Hollstegge 66dbb17a4a Fix opening cover via emulated_hue without specifying a position (#49570) 2021-04-22 19:12:52 -10:00
Matt Zimmerman e6d94845dd SmartTub: use get_full_status() (#49580) 2021-04-22 18:55:58 -10:00
Matt Zimmerman fec6ea3f76 SmartTub cleanup (#49579) 2021-04-22 18:54:55 -10:00
Erik Montnemery d28b959a09 Improve sun condition trace (#49551) 2021-04-22 16:46:27 -07:00
Erik Montnemery a9065f381d Use supported_color_modes in emulated_hue (#49175) 2021-04-22 16:42:28 -07:00