Commit Graph

584 Commits (addb91d49ef5bb109b87455d13b390adaefe8021)

Author SHA1 Message Date
GitHub Action 10b62370ff [ci skip] Translation update 2021-10-12 00:12:28 +00:00
Robert Svensson 750dd9186e
Improve deCONZ signal strings (#57140) 2021-10-07 12:48:27 +02:00
Robert Svensson 59b1433e5c
Additional place to use isinstance rather than do a string compare (#57094) 2021-10-05 09:17:45 +02:00
Paulus Schoutsen eb9b9c57a4 [ci skip] Translation update 2021-10-04 08:38:24 -07:00
Robert Svensson 1d643d6da7
Minor improvements to deCONZ light platform (#56953)
Use library constnats for flash and effect
Use attr_effect_list to specify supported effects
Use isinstance to identify if it is light or group
2021-10-03 22:14:28 +02:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Robert Svensson 818f695227
Replace strings with library constants in deCONZ fan platform 2021-10-02 09:09:26 +02:00
Robert Svensson 8258443a9e
Replace strings with library constants in deCONZ climate platform 2021-10-02 09:08:01 +02:00
Robert Svensson 8d06527cb1
Improve deCONZ services code quality (#56904)
* setup and unload services does not need to be async

* Only use DECONZ_DOMAIN to decide if service should be setup

* Consolidation of functionality

* Make a service to schema dictionary
2021-10-01 14:31:38 -04:00
Robert Svensson 1c1bb057d7
CLIPGenericFlag should be deCONZ sensor not binary sensor (#56901) 2021-10-01 17:10:01 +02:00
Robert Svensson 369412547a
Use native unit of measurement in deCONZ sensors (#56897) 2021-10-01 16:50:09 +02:00
Robert Svensson f224ab6d67
Use isinstance to verify class in deCONZ integration (#56794)
* Don't enable any variants of the daylight sensor entities by default

* Use isinstance rather than doing ZHATYPE compare

* Accidentally removed an import
2021-09-29 21:19:21 +02:00
Marc Mueller 565a9fea6b
Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00
Robert Svensson 8db0bd3c0e
Fix state_class for deCONZ power sensors (#56586)
* Fix state_class for power sensors
Rewrite entity descriptions for binary sensor and sensor platforms

* Remove icon if device_class is specified
2021-09-25 20:54:55 +02:00
Robert Svensson bf7c2753d5
deCONZ use siren platform (#56397)
* Add siren.py

* Working siren platform with 100% test coverage

* Also add test file...

* Add test to verify that switch platform cleans up legacy entities now that sirens are their own platform

* Update homeassistant/components/deconz/siren.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-09-18 21:59:04 +02:00
Robert Svensson 539ef31046
Reflect changes to pydeconz v84 (#56361)
Mostly snake case conversions and typing
But also a change in retry mechanism
Added a more complete set_* call to most types to remove the direct relation to rest API of deCONZ
2021-09-18 09:05:08 +02:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Jasper Smulders 5aa6f9dbb2
Add deCONZ support for Sonoff SNZB-01 switches (#54919) 2021-08-24 11:33:19 +02:00
Robert Svensson 6ad0e0220a
Update alarm control panel and deconz alarm event to reflect the finalized implementation in deCONZ (#54936)
* Update alarm control panel and deconz alarm event to reflect the new implementation in deCONZ

* Bump dependency to v83
2021-08-23 20:56:45 +02:00
Franck Nijhof 4c5d5a8f5a
Update deCONZ to use new state classes (#54729) 2021-08-17 08:34:41 +02:00
Erik Montnemery 41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
GitHub Action 390023a576 [ci skip] Translation update 2021-08-11 00:18:57 +00:00
GitHub Action 64c9f9e1cb [ci skip] Translation update 2021-08-06 00:15:04 +00:00
GitHub Action ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
Robert Svensson edf0e0bd08
Add energy device class to deCONZ consumption sensors (#53731) 2021-07-29 16:16:08 -07:00
Frederic Seiler 52df6a6558
Add deCONZ support for Legrand Self-e ZGP switches (#53008)
* Add deCONZ support for Legrand Self-e ZGP switches

Legrand Self-e ZLGP17 (0 677 23L)
Legrand Self-e ZLGP18 (0 677 24L)

* Add the 4 scenes switch (ZLGP15)

and update the model name of the toggle switch

* Update events
2021-07-28 12:54:19 -04:00
Robert Svensson d0bef97453
Handle situations where action is part of a deCONZ event but has the value None (#53373)
* Handle situations where action is part of an event but has the value None

* Cover more possible permutations of what a bad action string is
2021-07-23 21:43:00 +02:00
Robert Svensson 0d5e480397
Fix Gira and Jung models not working as deCONZ device triggers (#53394) 2021-07-23 21:18:19 +02:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Robert Svensson c96f01df1f
Fix groups reporting incorrect supported color modes (#53088) 2021-07-19 10:32:21 +02:00
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
Robert Svensson fd6b5ed072
Prefer using xy over hs when supported by light (#52883) 2021-07-12 08:17:50 +02:00
Robert Svensson 2787dc9e97
Bump dependency to properly handle current and voltage not being reported on some zhapower endpoints (#52764) 2021-07-09 11:54:40 +02:00
Robert Svensson 605f65b75d
Make use of entry id rather than unique id when storing deconz entry in hass.data (#52584)
* Make use of entry id rather than unique id when storing entry in hass data

* Update homeassistant/components/deconz/services.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-06 17:18:54 +02:00
GitHub Action 378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Robert Svensson 6352d8fb0e
Use more attr instead of properties in deCONZ integration (#52098) 2021-06-23 21:40:34 +02:00
Robert Svensson e22893a206
Make attestation of supported features easier to read (deCONZ test) (#52096)
Make is_deconz_group a constant
2021-06-22 20:34:25 +02:00
Robert Svensson 6814e9607a
Improve deCONZ lights supported_color_modes and tests (#51933)
* Improve deconz lights tests

* Simplify attribute definition

* Bump pydeconz to v80
2021-06-22 19:29:58 +02:00
Tom 88eca8cc15
Add deconz support for Lidl Smart Door Bell HG06668 (#51949) 2021-06-17 17:57:27 +02:00
Erik Montnemery 76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
Robert Svensson 79996682e5
Add device trigger for IKEA Trådfri Shortcut button to deCONZ (#51680) 2021-06-10 13:17:48 +02:00
Robert Svensson b1022ce84e
Use supported color modes in deCONZ integration (#51656)
* Initial commit everything is working, need to reevaluate tests

* Fix supported color modes and hs_color

* Attest color mode
2021-06-10 08:51:58 +02:00
Robert Svensson fb21affe45
Replace supported_features property with class attribute in deCONZ light entities (#51558)
* Replace supported_features property with class attribute

* attr_supported_features is already set to 0
2021-06-07 12:50:08 +02:00
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
GitHub Action 7f6e20dcbc [ci skip] Translation update 2021-06-03 00:26:58 +00:00
Franck Nijhof edcae74330
Entity attributes + typing fix in deCONZ alarm control panel (#51241) 2021-05-31 14:54:42 +02:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Franck Nijhof c317854e86
Small optimization in entity registry enabled deConz method (#51250) 2021-05-29 23:12:19 -05:00
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00