David F. Mulcahey
ac91423d71
Fix device name customization on ZHA add devices page ( #25180 )
...
* ensure new device exists
* clean up dev reg handling
* update test
* fix tests
2019-07-16 15:16:49 -07:00
Alexei Chetroi
cea857e18a
Bump up ZHA dependencies. ( #25062 )
...
Bump zigpy-homeassistant to 0.7.0
Bump zigpy-deconz to 0.2.1
Bump zigpy-xbee-homeassistant to 0.4.0
2019-07-10 12:20:37 -07:00
David F. Mulcahey
777e1ca832
bump zha-quirks version ( #25059 )
2019-07-10 11:59:06 -07:00
David F. Mulcahey
3c487928d4
New scanner device tracker and ZHA device tracker support ( #24584 )
...
* initial implementation for zha device trackers
* constant
* review comments
* Revert "review comments"
This reverts commit 2130823566820dfc114dbeda08fcdf76ed47a4e7.
* rename device tracker entity
* update trackers
* raise when not implemented
* Update homeassistant/components/device_tracker/config_entry.py
Review comment
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* move source type to base state attrs
* review comments
* review comments
* review comments
* fix super call
* fix battery and use last seen from device
* add test
* cleanup and add more to test
* cleanup post zha entity removal PR
* add tests for base entities
* rework entity tests
2019-07-04 12:44:39 +02:00
David F. Mulcahey
a9459c6d92
Remove ZHA device entity ( #24909 )
...
* move availability handling to device
* update last_seen format
* add battery sensor
* fix interval
* fix battery reporting now that it is a sensor
* remove zha entities and add battery sensor
2019-07-03 13:36:36 -04:00
David F. Mulcahey
7f90a1cab2
go back to signals and no hard entity references ( #24894 )
2019-07-01 16:32:57 -04:00
David F. Mulcahey
7d651e2b7a
Fix traceback during ZHA device removal ( #24882 )
...
* fix device remove lifecycle
* clean up remove signal
* add guard
2019-06-30 21:12:27 -04:00
David F. Mulcahey
ac5ab52d01
Bump ZHA quirks module ( #24802 )
...
* bump quirks version
* bump version - mija magnet
2019-06-27 15:28:56 -04:00
Alexei Chetroi
6ae1228e61
Enhancement/zha model manuf ( #24771 )
...
* Cleanup ZHA entities model and manufacturer usage.
Zigpy includes manufacturer and model as attributes of a zigpy
Device class, which simplifies handling of manufacturer and/or model
derived properties for the ZHA platform.
* Sort ZHA imports.
* Lint.
2019-06-26 09:31:19 -04:00
Alexei Chetroi
26dea0f247
Update ZHA dependencies. ( #24736 )
2019-06-24 16:57:07 -04:00
David F. Mulcahey
d9420c1f73
Remove device and entity registry entries when removing a ZHA device ( #24369 )
...
* cleanup when device is removed
fixes
* cleanup
2019-06-24 11:26:44 -07:00
David F. Mulcahey
d22bb8fc7d
Update ZHA dependencies ( #24718 )
...
* update deps and remove legacy constants bridge
* run deps script and fix test import
2019-06-23 13:43:19 -04:00
David F. Mulcahey
cfd8d70890
ZHA fix device type mappings ( #24699 )
2019-06-22 15:05:35 -04:00
Alexei Chetroi
86e50530b0
Bump ZHA dependencies. ( #24637 )
2019-06-19 22:32:31 -04:00
David F. Mulcahey
227b8bdf8a
Better pairing for Xiaomi devices in ZHA ( #24564 )
...
* better xiaomi pairing
* cleanup.
2019-06-18 11:36:28 -04:00
David F. Mulcahey
c173a3be44
Misc. ZHA enhancements ( #24559 )
...
* add nwk to device info
* input bind only cluster support
* cleanup channel only clusters
* dirty hack to correct xiaomi vibration sensor
* exclude remaining remote binary sensors
* review comments
* fix comment
2019-06-16 13:17:53 -04:00
Jurriaan Pruis
b87c541d3a
Support ZLO device types to support newer Zigbee devices in ZHA ( #24429 )
...
* Support ZLO device types
Support the device types that are added in https://github.com/zigpy/zigpy/pull/176
so newer Zigbee devices can be supported.
* Remove BINARY_SENSOR mappings
* Add back ON_OFF_LIGHT_SWITCH, DIMMER_SWITCH and COLOR_DIMMABLE_LIGHT
Since they are target devices I've added them as switch and lights,
which matches the Zigbee documentation.
* Upgrade to zigpy-homeassistant v0.5.0
To be able to use the new DeviceTypes
2019-06-11 16:28:37 -04:00
Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
Franck Nijhof
95d460c8bd
Fixes linter warning in ZHA sensor ( #24406 )
2019-06-08 07:29:35 -04:00
David F. Mulcahey
787bd75587
add device class to sensors ( #24373 )
2019-06-07 23:19:52 -07:00
presslab-us
cb460a85ba
Add support for ZHA door locks #2 ( #24344 )
...
* Add support for DoorLock cluster
* Add test for zha lock
* Change lock_state report to REPORT_CONFIG_IMMEDIATE
* Update channel command wrapper to return the entire result
This allows for return values other than result[1]
* Fix tests
* Fix lint
* Update DoorLock test to work with updated zigpy schema
* Fix lint
* Fix unlock test
2019-06-07 11:16:33 -04:00
David F. Mulcahey
592d30d495
Remove binary sensors for ZHA remotes and controllers ( #24370 )
...
* remove remote binary sensor profiles
* fix contact sensors
2019-06-07 11:13:55 -04:00
David F. Mulcahey
a79224aba8
Fix ZHA battery level when value is reported via signal ( #24371 )
...
* fix battery signal
* review comment
2019-06-07 11:02:35 -04:00
David F. Mulcahey
ae1bcd5fef
Use node descriptor from Zigpy for ZHA ( #24316 )
...
* use zigpy node descriptor
* cleanup
2019-06-06 08:31:03 -04:00
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