Commit graph

959 commits

Author SHA1 Message Date
Erik Montnemery
66feac2257
Finish migrating zha NumberEntity to native_value (#73580) 2022-06-17 12:15:59 +02:00
epenet
e0b362ef3b
Fix zha log message (#73626) 2022-06-17 12:13:16 +02:00
epenet
f8f1bfde21
Add lock typing in components (#73539)
* Add lock typing in components

* Revert freedompro amends
2022-06-15 15:23:36 +02:00
Erik Montnemery
576de9ac40
Migrate NumberEntity u-z to native_value (#73488) 2022-06-14 08:15:56 -10:00
Erik Montnemery
e3b6c7a66f
Add Home Assistant Yellow integration (#73272)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00
David F. Mulcahey
a5dc7c5f28
Add logbook describe event support to ZHA (#73077) 2022-06-07 06:49:40 -10:00
GitHub Action
05e5dd7baf [ci skip] Translation update 2022-06-07 00:20:09 +00:00
puddly
1c38c20cac
Bump ZHA dependency zigpy from 0.45.1 to 0.46.0 (#72877) 2022-06-02 08:27:12 -07:00
Arne Mauer
321394d3e2
Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component (#72826)
* Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component

* Fixed black and flake8 test
2022-06-01 18:00:58 -04:00
epenet
df5285f681
Improve pylint disable rule in zha (#72835) 2022-06-01 16:49:43 +02:00
David F. Mulcahey
7854aaa746
Bump ZHA quirks lib to 0.0.75 (#72765) 2022-05-31 12:24:35 -07:00
GitHub Action
3c5b778ee3 [ci skip] Translation update 2022-05-30 00:27:06 +00:00
GitHub Action
7a0657c386 [ci skip] Translation update 2022-05-29 00:23:25 +00:00
David F. Mulcahey
60387a417f
Add support for polled Smart Energy Metering sensors to ZHA (#71527)
* Add framework for polled se metering sensors

* add model

* find attr

* type info
2022-05-27 09:43:39 -04:00
Erik Montnemery
5ca82b2d33
Migrate zha light to color_mode (#70970)
* Migrate zha light to color_mode

* Fix restoring color mode

* Correct set operations

* Derive color mode from group members

* Add color mode to color channel

* use Zigpy color mode enum

Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2022-05-27 15:38:22 +02:00
David F. Mulcahey
692a602aea
Bump ZHA quirks to 0.0.74 (#72482) 2022-05-25 14:48:34 +02:00
David F. Mulcahey
9591d5366e
Add config entities for the Aqara P1 motion sensor to ZHA (#72466)
* initial work for configurable detection interval

* update opple cluster channel

* detection interval

* motion sensitivity

* only set the init attributes for the right device

* add trigger indicator configuration entity
2022-05-25 08:57:26 +02:00
rforro
db815a7504
ZHA Add entities for Lidl water valve quirk (#72307)
* init

* added timer number entity

* added write attribute button entity

* fixed missed errors

* minor changes & fixed failing test

* removed icon

* unit and icons
2022-05-24 19:56:03 -04:00
David F. Mulcahey
7aca007a9a
Don't discover entities or initialize cluster channels for the coordinator in ZHA (#72442)
don't discover coord entities or init channels
2022-05-24 19:44:33 -04:00
rforro
0c2f22d478
Add configurable zha switch entity (#71784)
* add configurable zha switch entity

* final zha configurable switch

* fix codecov

* replaced errorneous cluster with local quirk

* test fix

* minor changes
2022-05-24 19:43:35 -04:00
epenet
1b5a46a5ba
Adjust device_automation type hints in zha (#72142) 2022-05-23 17:35:35 +02:00
GitHub Action
ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
epenet
b65b47f25e
Cleanup zha async method which is not awaiting (#72093)
* Cleanup zha async method which is not awaiting

* Missed a commit
2022-05-19 17:05:25 +02:00
epenet
4e6887515b
Cleanup deprecated async_get_registry in zha (#72080) 2022-05-18 07:45:49 -04:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass (#72031) 2022-05-17 12:22:15 -07:00
Franck Nijhof
5f44d0f8f9
Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
GitHub Action
2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
David F. Mulcahey
57c94c0350
Add additional configuration entities for ZHA lights (#70597)
* Add more configuration entities for ZHA lights

* fix typing circular imports

* enhance filter in entity factory

* fix read attribute chunking

* add test

* add exception test
2022-05-16 13:04:32 -04:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Alexei Chetroi
dcbac86fc0
Bump up ZHA dependencies (#71663) 2022-05-10 19:21:46 -04:00
J. Nick Koston
0b8f87169b
Pretty zha manifest.json (#71556) 2022-05-08 21:05:19 -04:00
Fairesoimeme
1d63c2069e
Add ZiGate device on automatic integration USB and ZEROCONF (#68577)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 18:27:09 -05:00
David F. Mulcahey
173f14379b
Update Zigpy attribute cache for switch devices that do not report state (#71417)
* fix devices that do not report state

* whoops
2022-05-06 10:24:08 -04:00
David F. Mulcahey
d6617eba7c
Fix bad ZHA _attr definitions (#71198) 2022-05-02 15:23:17 +02:00
GitHub Action
9b10658d01 [ci skip] Translation update 2022-05-02 00:22:04 +00:00
David F. Mulcahey
f184f9e142
Fix ZHA cover initial state (#71083) 2022-04-29 15:35:53 -07:00
epenet
f08615fc76
Use LightEntityFeature enum in zha (#71060) 2022-04-29 22:45:25 +03:00
David F. Mulcahey
755020ff63
Update ZHA switch entities to leverage Zigpy cache appropriately (#71062) 2022-04-29 09:44:59 -07:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
David F. Mulcahey
1eb5316d89
Remove unnecessary update_before_add from ZHA (#71010)
* Additional streamlining for ZHA entity init

* fix tests
2022-04-28 20:57:26 +02:00
David F. Mulcahey
b4a0345b38
Bump ZHA dependencies (#70900)
* Bump ZHA libs

* bump Zigpy
2022-04-27 13:55:31 -04:00
David F. Mulcahey
361119d5c1
Improve ZHA startup performance (#70111)
* Remove semaphores and background mains init

* additional logging

* correct cache usage and update tests
2022-04-27 08:24:26 -07:00
epenet
c44b7cc4c0
Use HVACAction in zha sensors (#70769) 2022-04-26 11:26:59 +02:00
epenet
8745401af5
Use climate enums in zha (#70754) 2022-04-26 10:09:13 +02:00
David F. Mulcahey
9b8d217b0e
Implement support for start_up_on_off in ZHA (#70110)
* Implement support for start_up_on_off

fix discovery issues

remove cover change

* add tests
2022-04-24 12:50:06 -04:00
glcos
8a73381b56
ZHA ElectricalMeasurement cluster add Frequency and Power Factor (#59417)
* Add files via upload

* Add Frequency and PF

* Add Frequency and PF

Add Frequency and PF

* Add Frequency and PF

Add Frequency and PF

* Add Frequency and PF

Add Frequency and PF

* Add Frequency and PF

Add Frequency and PF

* Update homeassistant/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/zha/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/const.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Fix rebase

* rebase cleanup

* fix stale doc string

* missed this again

* isort

* update tests

* update discovery test data

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2022-04-24 12:42:52 -04:00
TheJulianJES
e4a613a4b3
Add "LUX" manufacturer to "ZenWithin" ZHA thermostat (#70190) 2022-04-24 11:58:06 -04:00
Franck Nijhof
1e4aacaeb1
Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum (#69861) 2022-04-18 19:37:32 +02:00
Sébastien RAMAGE
2af1b7d974
Revert zigpy-zigate to 0.7.4 (#70184)
* Update requirements_all.txt

revert to zigpy-zigate 0.7.4

* Update requirements_test_all.txt

revert to zigpy-zigate 0.7.4

* Update manifest.json

revert to zigpy-zigate 0.7.4
2022-04-17 20:52:17 +03:00
David F. Mulcahey
53216883f8
ZHA diagnostics fixes (#70000) 2022-04-13 17:02:57 -04:00