Alexei Chetroi
0ba2b4e253
ZHA requirements version bump. ( #24228 )
...
* ZHA requirements version bump.
* zha-quirks version bump.
2019-05-31 17:15:27 -04:00
Alexei Chetroi
9fb8144031
Debug log when polling ZHA light. ( #24167 )
2019-05-28 19:50:48 -07:00
David F. Mulcahey
128ce589e1
Correct ZHA illumination conversion ( #23853 )
...
* fix illumination values
* correct formula
* update illuminance calculation
* update test
2019-05-14 07:16:41 +02:00
David F. Mulcahey
9b21774392
Fix ZHA battery when readings produce an unknown value ( #23854 )
...
* check for unknown readings
* only publish valid readings
* remove unused constant
2019-05-14 07:16:21 +02:00
David F. Mulcahey
eaf4a75402
bump zha-quirks ( #23855 )
2019-05-14 07:15:31 +02:00
damarco
990a9e80a2
Fix zha timed off ( #23849 )
2019-05-13 13:13:57 -04:00
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -07:00
Alexei Chetroi
910825580e
Do not add coordinator to the ZHA entities. ( #23803 )
2019-05-10 18:57:08 -04:00
David F. Mulcahey
73aadbe8bc
bump zha-quirks ( #23714 )
2019-05-06 08:35:11 -04:00
David F. Mulcahey
3dd1d3c418
Add additional single input cluster entries - ZHA ( #23697 )
...
* more profiles
* remove from binary sensor profile
* remove sensor profile mapping
2019-05-05 19:10:19 -04:00
Alexei Chetroi
8328ea6bd7
Bump ZHA modules versions. ( #23705 )
...
* Bump ZHA modules versions.
Bump bellows-homeassistant version.
Bump zigpy-homeassistant version.
Bump zigpy-xbee-homeassistant version.
* Update requirements_*.txt
2019-05-05 17:15:34 -04:00
David F. Mulcahey
41f0066e76
bump zha-quirks version ( #23568 )
2019-04-30 12:57:06 -04:00
David F. Mulcahey
d71424f285
Clean up ZHA discovery logic ( #23563 )
...
* use domain constants from HA
* cleanup endpoint processing in discovery
* Whitespace.
2019-04-30 10:40:52 -04:00
David F. Mulcahey
2aee31ec6a
Don't use zigpy profiles for ZHA entities ( #22844 )
...
* don't use zigpy profiles
* use sets as they're the correct structure to use
2019-04-29 19:31:27 -04:00
David F. Mulcahey
75f53b2799
Allow direct binding via ZHA for the ZLL profile ( #23536 )
...
* allow binding for zll profile
* update check - review comment
2019-04-29 11:35:18 -04:00
David F. Mulcahey
5aa9a1a7c2
limit concurrent updates to avoid network flood ( #23534 )
2019-04-29 09:39:37 -04:00
Tom Schneider
eefb9406c2
restore battery_quantity for zha devices ( #23320 )
2019-04-25 22:44:38 -05:00
damarco
b3c7142030
Bump zigpy and zigpy-xbee ( #23275 )
2019-04-20 18:04:30 -04:00
damarco
df32830f17
Bump zigpy-deconz ( #23270 )
2019-04-20 10:12:28 -04:00
David F. Mulcahey
c2b4e24372
update zha-quirks ( #23215 )
2019-04-18 20:23:48 -04:00
David F. Mulcahey
5e363d124e
fix bindable devices ( #23216 )
2019-04-18 20:21:30 -04:00
David F. Mulcahey
38d23ba0af
Misc. ZHA changes ( #23190 )
...
* handle the off part of on with timed off command
* use correct var
* only bind / configure cluster once
* clean up channel configuration
* additional debug logging
* add guard
* prevent multiple discoveries for a device
* cleanup and still configure on rejoin
2019-04-18 12:24:02 -04:00
Alexei Chetroi
479511ee42
Bugfix ZHA device_removed() handler. ( #23074 )
2019-04-13 12:57:22 -04:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
0d2646ba25
Update translations
2019-04-09 08:34:20 -07:00
Alexei Chetroi
64ea13104e
Fix ZHA Light color conversion. ( #22909 )
2019-04-09 05:48:17 -04:00
David F. Mulcahey
3086e1d39d
get temp and color for light during init and poll ( #22847 )
2019-04-07 22:03:38 -04:00
David F. Mulcahey
192ed90773
make the custom polling actually request state ( #22778 )
2019-04-05 16:50:20 -07:00
Alexei Chetroi
8dfbfae270
ZHA Light debug logging. ( #22776 )
2019-04-05 19:06:41 -04:00
David F. Mulcahey
e29eb4fa23
fix device class lookup for binary sensors ( #22724 )
2019-04-04 09:06:54 -04:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Alexei Chetroi
625c8e0cee
Shutdown ZHAGateway on hass closing. ( #22646 )
...
* Shutdown ZHAGateway on hass stop.
* Cleanup ZHA event leftovers.
2019-04-03 09:40:48 -04:00
Alexei Chetroi
0427154963
Don't force updates on ZHA Electrical Measurement sensor. ( #22647 )
2019-04-02 08:28:55 -07:00
damarco
c0ce86fa8e
Bump zigpy ( #22545 )
2019-03-29 14:01:51 -07:00
David F. Mulcahey
6401920019
clean up channel configuration ( #22534 )
2019-03-29 16:41:04 -04:00
David F. Mulcahey
6dc127780e
Do not use zha default light polling ( #22513 )
...
* don't use default light polling
* review comment
2019-03-29 16:52:13 +01:00
Paulus Schoutsen
9d21afa444
Update translations
2019-03-27 21:32:58 -07:00
Alexei Chetroi
e670491c86
Targeted ZHA permit joins. ( #22482 )
...
* Targeted ZHA permit service.
* Convert IEEE string to EUI64 usiv vol schema.
* Update test units.
* Lint.
isort imports.
2019-03-27 19:50:52 -07:00
Jason Hu
7519e8d417
Update translate, fix dev build error ( #22419 )
2019-03-26 07:48:26 -07:00
David F. Mulcahey
3cca3c37f0
zha fixes ( #22381 )
2019-03-26 09:17:43 -04:00
Paulus Schoutsen
72bb94de96
Update translations
2019-03-21 12:57:20 -07:00
Alexei Chetroi
03855c18fc
add ZHA channel name property ( #22218 )
...
* Make channel name a property.
* Cleanup Zigbee channels.
Use zcl.Cluster.ep_attribute as default channel name.
2019-03-21 07:40:12 -07:00
Alexei Chetroi
9653544144
Fix ZHA force polled entities. ( #22222 )
...
## Description:
Fix "force_polled" ZHA entities.
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
[ex-requir]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard/__init__.py#L14
[ex-import]: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/keyboard/__init__.py#L23
2019-03-20 19:15:21 -07:00
David F. Mulcahey
46ece3603f
Add dynamic subscription for ZHA add device page ( #22164 )
...
* add ws subscription for zha gateway messages
* add debug mode
* only relay certain logs
* add missing require admin
* add devices command
* add area_id
* fix manufacturer code
2019-03-18 22:35:03 -04:00
David F. Mulcahey
89c96279ce
Cleanup remaining constants stuff in ZHA ( #22050 )
...
* clean up constants
* fix quirks until it can be upgradded
2019-03-14 21:00:49 -04:00
Alexei Chetroi
9575c20b7c
Minor ZHA consts fixes ( #22049 )
...
* Use consts for zha.core.consts
* Fix ZHA battery reporting config.
2019-03-14 20:29:12 -04:00
David F. Mulcahey
300384410f
Refactor ZHA gateway into modules and add admin protections to API ( #22023 )
...
* refactor
* cleanup
* fix tests
* admin all the things
2019-03-14 10:20:25 -04:00
David F. Mulcahey
5ffb471198
Update ZHA state handling ( #21866 )
...
* make device available if it was seen within 2 hours
* more state restore
* cleanup init
* clean up storage stuff
* fix tests
* update state handling
2019-03-09 20:09:09 -08:00
David F. Mulcahey
ac5ccd651c
Bump quirks for ZHA and handle resulting battery % change ( #21869 )
...
* bump quirks and handle battery change
* move inside guard
* round battery
2019-03-09 12:14:58 -08:00