Commit graph

1268 commits

Author SHA1 Message Date
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Alexei Chetroi
7d8eb49d88
Bump up ZHA dependency (#47873) 2021-03-13 16:06:07 -05:00
David F. Mulcahey
547fd7d352
fix exception on device removal (#47803) 2021-03-12 21:06:37 -05:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01:00
B-Hartley
ee2658f9e6
Add (some) of ZCL concentration clusters to ZHA component (#47590)
* Update registries.py

Add concentration clusters recently added to zigpy

* Update measurement.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

remove unnecessary tabs

* Update measurement.py

remove unnecessary tabs

* Update sensor.py

Just adding CO and CO2 for now.

* Update registries.py

Just adding CO2 and CO for now.

* Update measurement.py

Just adding CO2 and CO for now

* Update sensor.py

import const CONCENTRATION_PARTS_PER_MILLION

* Update registries.py

removed trailing whitespace

* Update sensor.py

added extra blank lines and removed trailing whitespace

* Update measurement.py

added extra blank lines and removed trailing whitespace

* Update sensor.py

add device classes for CO and CO2
2021-03-08 11:22:13 -05:00
Alexei Chetroi
f3c71a69f0
Allow 10mV precision for ZHA battery sensor entities (#47520) 2021-03-08 07:37:33 -05:00
Alexei Chetroi
a12b98e30e
Update ZHA dependencies (#47479) 2021-03-05 17:01:54 -05:00
tkdrob
3baeed3684
Clean up constants (#47323) 2021-03-05 19:08:04 +01:00
Quentame
198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Alexei Chetroi
7ef174fb5e
Update ZHA dependencies (#47282) 2021-03-02 21:12:30 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Marc Mueller
16dcbf1467
Update pylint (#47205) 2021-02-28 22:09:01 -10:00
David F. Mulcahey
4853a81366
Bump ZHA quirks to 0.0.54 (#47172) 2021-02-28 10:55:14 -05:00
HomeAssistant Azure
0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
puddly
2b6619f815
Bump zigpy-znp from 0.3.0 to 0.4.0 (#46828) 2021-02-20 16:57:16 -05:00
J. Nick Koston
71586b7661
Cleanup inconsistencies in zha fan and make it a bit more dry (#46714)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-19 19:42:14 -10:00
J. Nick Koston
b2df9aaaf1
Update zha to use new fan entity model (#45758)
* Update zha to use new fan entity model

* fixes

* tweaks for zha

* pylint

* augment test cover
2021-02-17 13:03:11 -05:00
tkdrob
a5a45f29e2
Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
Franck Nijhof
dd8d4471ec
Postponed evaluation of annotations for integrations (#46455) 2021-02-12 18:54:00 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered (#45528)
* Mark entities as unavailable when they are removed but are still registered

* Add sync_entity_lifecycle to collection helper

* Remove debug print

* Lint

* Fix tests

* Fix tests

* Update zha

* Update zone

* Fix tests

* Update hyperion

* Update rfxtrx

* Fix tests

* Pass force_remove=True from integrations

Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Franck Nijhof
67392338da
Activate manual ZHA config flow when no comports detected (#46077) 2021-02-05 17:23:47 -05:00
David F. Mulcahey
51e695fd45
add api to refresh topology (#44840) 2021-02-03 15:35:05 -05:00
Paulus Schoutsen
959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes (#45407)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
Alexei Chetroi
9ae4818a23
Update ZHA dependencies (#45569) 2021-01-26 11:54:05 -05:00
David F. Mulcahey
ef8ee38274
bump libs for zha (#45345) 2021-01-19 21:19:46 -05:00
Alexei Chetroi
0b9687f7bd
Bump up ZHA dependency (#45230) 2021-01-16 13:43:35 -05:00
TheJulianJES
86154744e4
Implement color mode for ZHA light polling (#44829) 2021-01-04 21:57:05 -05:00
Alexei Chetroi
64dd748330
Bump up ZHA dependencies (#44680)
- zigpy == 0.29.0
- zigpy_deconz == 0.11.1
- zha-quirks == 0.0.51
2020-12-31 14:07:15 +01:00
David F. Mulcahey
a6c83cc46a
Bump ZHA quirks version to 0.0.50 (#44650) 2020-12-30 09:11:08 -05:00
TheJulianJES
0bc04a6501
Reset hs color/color temperature when changing the other one (ZHA) (#44566) 2020-12-28 14:05:15 -05:00
Philip Allgaier
392c058d34
Ensure consistent spelling of "ID" (#44585) 2020-12-28 18:34:08 +01:00
HomeAssistant Azure
f3cabe97e0 [ci skip] Translation update 2020-12-21 00:04:09 +00:00
David F. Mulcahey
e601f62416
Default smartenergy multiplier and divisor (#44257) 2020-12-15 10:44:28 -05:00
Shulyaka
0b8529a472
Add zha AnalogOutput cluster support (#44092)
* Initial commit
* black
* isort
* Commit suggestion from code review
Co-authored-by: Alexei Chetroi <lexoid@gmail.com>

* pylint
* removed entity cache for present_value
* fix discovery
* move write_attributes to channel
* write_attributes fix
* write_attributes yet another fix
* update_before_add=False
* mains powered test device
* removed test_restore_state
* flake8
* removed async_configure_channel_specific
* don't know what this patch does, removing
* test for async_update
* removed node_descriptor
* fix unit_of_measurement
Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
2020-12-14 15:32:45 -05:00
David F. Mulcahey
6fb6d771fd
Bump the ZHA quirks lib to 0.0.49 (#44173) 2020-12-13 08:43:33 -05:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated (#44156)
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases

* Revert change to ZHA
2020-12-12 22:24:16 +01:00
Alexei Chetroi
6253054fd4
Bump up dependencies on pyserial and pyserial-asyncio (#44089) 2020-12-10 20:41:31 +01:00
Alexei Chetroi
51f9da94e1
Exclude coordinator when looking up group members entity IDs (#44058) 2020-12-08 14:34:26 -05:00
Alexei Chetroi
e0bcee1cc3
Update ZHA dependencies (#44039)
zha-quirks==0.0.48
zigpy==0.28.2
zigpy-znp==0.3.0
2020-12-07 20:06:32 -05:00
Alexei Chetroi
a1720fdd2b
Cleanup ZHA fan channel (#43973)
* Use zigpy cached values for ZHA Fan speed

* Disable update_before_add for ZHA fans

* Refresh state of the group

* Fix group tests
2020-12-05 18:24:49 -05:00
Alexei Chetroi
40e5634db3
Add ZHA Coordinator to LightLink cluster groups (#43959)
* Add coordinator to LighLink cluster groups

* Make pylint happy
2020-12-05 11:20:10 -05:00
Alexei Chetroi
125ceb7449
Refactor ZHA core channel initialization (#43953)
* Cleanup Basic channnel

Remove unused methods.

* Refactor async_configure() method

Split async_configure() into async_configure() and
async_configure_channel_specfici()

* Refactor async_initilize() method

Split into two different methods and configure channel specifics via
async_configure_channel_specific()

* Fixes
2020-12-04 18:45:09 -05:00
HomeAssistant Azure
42f00cff30 [ci skip] Translation update 2020-12-04 00:05:42 +00:00
Alexei Chetroi
032d569cd1
Add Analog cluster for Lumi plugs (#43817) 2020-12-01 14:34:07 -05:00
Abílio Costa
8f3989e7d9
Remove unused stuff from ZHA registries (#43786) 2020-12-01 09:21:25 -05:00
HomeAssistant Azure
cf9598fe4f [ci skip] Translation update 2020-12-01 00:03:00 +00:00
Bas Nijholt
6eeb9c0e49
ZHA: remove unused 'from_cache' argument from 'async_get_state' and add 'async_update' (#42413)
* remove unused 'from_cache' argument from 'async_get_state'

* define async_update to use homeassistant.update_entity
2020-11-29 14:47:46 -05:00
David F. Mulcahey
54425ae0f3
Use the correct property for full init event (#43745) 2020-11-29 11:59:23 -05:00
David F. Mulcahey
a2e1efca33
Add additional events to enhance the ZHA device pairing experience (#43729)
* support better feedback in the device pairing UI

* update pairing events
2020-11-28 17:29:56 -05:00