add ZHA channel name property (#22218)

* Make channel name a property.

* Cleanup Zigbee channels.

Use zcl.Cluster.ep_attribute as default channel name.
This commit is contained in:
Alexei Chetroi 2019-03-21 10:40:12 -04:00 committed by Paulus Schoutsen
parent 2b02c0d0fc
commit 03855c18fc
7 changed files with 30 additions and 46 deletions

View file

@ -87,12 +87,12 @@ ZDO_CHANNEL = 'zdo'
ON_OFF_CHANNEL = 'on_off'
ATTRIBUTE_CHANNEL = 'attribute'
BASIC_CHANNEL = 'basic'
COLOR_CHANNEL = 'color'
COLOR_CHANNEL = 'light_color'
FAN_CHANNEL = 'fan'
LEVEL_CHANNEL = ATTR_LEVEL
ZONE_CHANNEL = 'zone'
ELECTRICAL_MEASUREMENT_CHANNEL = 'active_power'
POWER_CONFIGURATION_CHANNEL = 'battery'
ZONE_CHANNEL = 'ias_zone'
ELECTRICAL_MEASUREMENT_CHANNEL = 'electrical_measurement'
POWER_CONFIGURATION_CHANNEL = 'power'
EVENT_RELAY_CHANNEL = 'event_relay'
SIGNAL_ATTR_UPDATED = 'attribute_updated'