Yoda-x / ha-zha-new

update of the zha component
56 stars 10 forks source link

Can't connect WXKG02LM #79

Closed estevez-dev closed 5 years ago

estevez-dev commented 5 years ago

I've got one more Xiaomi Aqara wall switch. First one was connected in #71 and working fine. But I can't connect the second one. No entities created for it. HA: 0.89.2 zha_new: latest master Log of pairing:

2019-03-16 11:26:02 INFO (MainThread) [custom_components.zha_new] Permitting joins for 60s
2019-03-16 11:26:03 WARNING (MainThread) [bellows.zigbee.application] Unexpected message send notification
2019-03-16 11:26:07 INFO (MainThread) [zigpy.application] Device 0xa89e (00:15:8d:00:02:c9:39:62) left the network
2019-03-16 11:26:21 INFO (MainThread) [zigpy.application] Device 0xd675 (00:15:8d:00:02:c9:39:62) joined the network via 0
2019-03-16 11:26:21 DEBUG (MainThread) [custom_components.zha_new] Device joined: 00:15:8d:00:02:c9:39:62:
2019-03-16 11:26:21 INFO (MainThread) [zigpy.device] [0xd675] [0xd675] Discovering endpoints
2019-03-16 11:26:22 DEBUG (MainThread) [zigpy.zdo] [0xd675:zdo] ZDO request 0x0013: [54901, 00:15:8d:00:02:c9:39:62, 128]
2019-03-16 11:26:23 INFO (MainThread) [zigpy.device] [0xd675] [0xd675] Discovered endpoints: [1, 2, 3]
2019-03-16 11:26:23 INFO (MainThread) [zigpy.endpoint] [0xd675:1] Discovering endpoint information
2019-03-16 11:26:24 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.power_strip_2 is taking over 10 seconds
2019-03-16 11:26:26 INFO (MainThread) [zigpy.endpoint] [0xd675:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=24321 device_version=1 input_clusters=[0, 3, 25, 65535, 18] output_clusters=[0, 4, 3, 5, 25, 65535, 18]>
2019-03-16 11:26:26 INFO (MainThread) [zigpy.endpoint] [0xd675:2] Discovering endpoint information
2019-03-16 11:26:29 INFO (MainThread) [zigpy.endpoint] [0xd675:2] Discovered endpoint information: <SimpleDescriptor endpoint=2 profile=260 device_type=24322 device_version=1 input_clusters=[3, 18] output_clusters=[4, 3, 5, 18]>
2019-03-16 11:26:29 INFO (MainThread) [zigpy.endpoint] [0xd675:3] Discovering endpoint information
2019-03-16 11:26:33 INFO (MainThread) [zigpy.endpoint] [0xd675:3] Discovered endpoint information: <SimpleDescriptor endpoint=3 profile=260 device_type=24323 device_version=1 input_clusters=[3, 12] output_clusters=[4, 3, 5, 12]>
2019-03-16 11:26:33 DEBUG (MainThread) [custom_components.zha_new] Device initialized: 00:15:8d:00:02:c9:39:62:
2019-03-16 11:26:36 DEBUG (MainThread) [custom_components.zha_new] read attribute: {'model': b'lumi.remote.b286acn01\x00\x00\x00'}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] read attribute: {'manufacturer': b'LUMI'}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] manufacturer: type(<class 'bytes'>) b'LUMI'
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] manufacturer: type(<class 'str'>) LUMI
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] model: type(<class 'bytes'>) b'lumi.remote.b286acn01\x00\x00\x00'
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] model: type(<class 'str'>) lumi.remote.b286acn01
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] discover_endpoint_info:{'manufacturer': 'LUMI', 'model': 'lumi.remote.b286acn01'}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675] device init for <class 'str'>(lumi.remote.b286acn01)(00:15:8d:00:02:c9:39:62) -> Endpoints: [0, 1, 2, 3], new join 
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:0] endpoint init
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] endpoint init
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] node config for 00:15:8d:00:02:c9:39:62-1: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] pre call _custom_endpoint_init: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] no call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] node config for 00:15:8d:00:02:c9:39:62-1: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:1] 2:profile 260, component: None cluster:[set(), set()]
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] endpoint init
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] node config for 00:15:8d:00:02:c9:39:62-2: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] pre call _custom_endpoint_init: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] no call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] node config for 00:15:8d:00:02:c9:39:62-2: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:2] 2:profile 260, component: None cluster:[set(), set()]
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] endpoint init
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] node config for 00:15:8d:00:02:c9:39:62-3: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] pre call _custom_endpoint_init: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] no call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] node config for 00:15:8d:00:02:c9:39:62-3: {}
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675:3] 2:profile 260, component: None cluster:[set(), set()]
2019-03-16 11:26:39 DEBUG (MainThread) [custom_components.zha_new] [0xd675] Exit device init 00:15:8d:00:02:c9:39:62
estevez-dev commented 5 years ago

I created a file lumi_remote_b286acn01.py. Content:

from .lumi_sensor_86sw2 import _custom_endpoint_init, _parse_attribute

It is imported successfully, but still no entities created ((

019-03-16 11:44:02 INFO (MainThread) [custom_components.zha_new] Permitting joins for 60s
2019-03-16 11:44:03 WARNING (MainThread) [bellows.zigbee.application] Unexpected message send notification
2019-03-16 11:44:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.power_strip_2 is taking over 10 seconds
2019-03-16 11:44:43 WARNING (MainThread) [homeassistant.components.switch] Updating broadlink switch took longer than the scheduled update interval 0:00:30
2019-03-16 11:44:46 INFO (MainThread) [zigpy.application] Device 0x031a (00:15:8d:00:02:c9:39:62) joined the network via 0
2019-03-16 11:44:46 DEBUG (MainThread) [custom_components.zha_new] Device joined: 00:15:8d:00:02:c9:39:62:
2019-03-16 11:44:46 INFO (MainThread) [zigpy.device] [0x031a] [0x031a] Discovering endpoints
2019-03-16 11:44:46 DEBUG (MainThread) [zigpy.zdo] [0x031a:zdo] ZDO request 0x0013: [794, 00:15:8d:00:02:c9:39:62, 128]
2019-03-16 11:44:47 INFO (MainThread) [zigpy.device] [0x031a] [0x031a] Discovered endpoints: [1, 2, 3]
2019-03-16 11:44:47 INFO (MainThread) [zigpy.endpoint] [0x031a:1] Discovering endpoint information
2019-03-16 11:44:50 INFO (MainThread) [zigpy.endpoint] [0x031a:1] Discovered endpoint information: <SimpleDescriptor endpoint=1 profile=260 device_type=24321 device_version=1 input_clusters=[0, 3, 25, 65535, 18] output_clusters=[0, 4, 3, 5, 25, 65535, 18]>
2019-03-16 11:44:50 INFO (MainThread) [zigpy.endpoint] [0x031a:2] Discovering endpoint information
2019-03-16 11:44:53 ERROR (SyncWorker_14) [homeassistant.components.switch.broadlink] Timeout during authorization
2019-03-16 11:44:54 INFO (MainThread) [zigpy.endpoint] [0x031a:2] Discovered endpoint information: <SimpleDescriptor endpoint=2 profile=260 device_type=24322 device_version=1 input_clusters=[3, 18] output_clusters=[4, 3, 5, 18]>
2019-03-16 11:44:54 INFO (MainThread) [zigpy.endpoint] [0x031a:3] Discovering endpoint information
2019-03-16 11:44:57 INFO (MainThread) [zigpy.endpoint] [0x031a:3] Discovered endpoint information: <SimpleDescriptor endpoint=3 profile=260 device_type=24323 device_version=1 input_clusters=[3, 12] output_clusters=[4, 3, 5, 12]>
2019-03-16 11:44:57 DEBUG (MainThread) [custom_components.zha_new] Device initialized: 00:15:8d:00:02:c9:39:62:
2019-03-16 11:45:00 DEBUG (MainThread) [custom_components.zha_new] read attribute: {'model': b'lumi.remote.b286acn01\x00\x00\x00'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] read attribute: {'manufacturer': b'LUMI'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] manufacturer: type(<class 'bytes'>) b'LUMI'
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] manufacturer: type(<class 'str'>) LUMI
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] model: type(<class 'bytes'>) b'lumi.remote.b286acn01\x00\x00\x00'
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] model: type(<class 'str'>) lumi.remote.b286acn01
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] discover_endpoint_info:{'manufacturer': 'LUMI', 'model': 'lumi.remote.b286acn01'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a] device init for <class 'str'>(lumi.remote.b286acn01)(00:15:8d:00:02:c9:39:62) -> Endpoints: [0, 1, 2, 3], new join 
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:0] endpoint init
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] endpoint init
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] node config for 00:15:8d:00:02:c9:39:62-1: {}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] Import DH lumi.remote.b286acn01 success
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] custom_info for lumi.remote.b286acn01: {'module': <module 'custom_components.device.lumi_remote_b286acn01' from '/config/custom_components/device/lumi_remote_b286acn01.py'>, '_custom_endpoint_init': <function _custom_endpoint_init at 0x6f90ea08>, '_custom_cluster_command': None, '_parse_attribute': <function _parse_attribute at 0x6f90ea50>, 'custom_parameters': None}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] pre call _custom_endpoint_init: {'module': <module 'custom_components.device.lumi_remote_b286acn01' from '/config/custom_components/device/lumi_remote_b286acn01.py'>, '_custom_endpoint_init': <function _custom_endpoint_init at 0x6f90ea08>, '_custom_cluster_command': None, '_parse_attribute': <function _parse_attribute at 0x6f90ea50>, 'custom_parameters': None}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] node config for 00:15:8d:00:02:c9:39:62-1: {'in_cluster': [0, 6, 18], 'type': 'binary_sensor'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] 2:profile 260, component: binary_sensor cluster:[{0, 18, 6}, {768, 1280, 4, 5, 6, 8}]
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:1] Return from component general entity:00:15:8d:00:02:c9:39:62
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] endpoint init
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] node config for 00:15:8d:00:02:c9:39:62-2: {}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] pre call _custom_endpoint_init: {'module': <module 'custom_components.device.lumi_remote_b286acn01' from '/config/custom_components/device/lumi_remote_b286acn01.py'>, '_custom_endpoint_init': <function _custom_endpoint_init at 0x6f90ea08>, '_custom_cluster_command': None, '_parse_attribute': <function _parse_attribute at 0x6f90ea50>, 'custom_parameters': None}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] node config for 00:15:8d:00:02:c9:39:62-2: {'in_cluster': [0, 6, 18], 'type': 'binary_sensor'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] 2:profile 260, component: binary_sensor cluster:[{0, 18, 6}, {768, 1280, 4, 5, 6, 8}]
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:2] Return from component general entity:00:15:8d:00:02:c9:39:62
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] endpoint init
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] node config for 00:15:8d:00:02:c9:39:62-3: {}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] pre call _custom_endpoint_init: {'module': <module 'custom_components.device.lumi_remote_b286acn01' from '/config/custom_components/device/lumi_remote_b286acn01.py'>, '_custom_endpoint_init': <function _custom_endpoint_init at 0x6f90ea08>, '_custom_cluster_command': None, '_parse_attribute': <function _parse_attribute at 0x6f90ea50>, 'custom_parameters': None}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] call _custom_endpoint_init: lumi.remote.b286acn01
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] node config for 00:15:8d:00:02:c9:39:62-3: {'in_cluster': [0, 6, 18], 'type': 'binary_sensor'}
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] config reports skipped for 00:15:8d:00:02:c9:39:62, no reports configured 
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] 2:profile 260, component: binary_sensor cluster:[{0, 18, 6}, {768, 1280, 4, 5, 6, 8}]
2019-03-16 11:45:03 DEBUG (MainThread) [custom_components.zha_new] [0x031a:3] Return from component general entity:00:15:8d:00:02:c9:39:62
2019-03-16 11:45:04 DEBUG (MainThread) [custom_components.zha_new] [0x031a] Exit device init 00:15:8d:00:02:c9:39:62
2019-03-16 11:45:07 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] write cie:[[<WriteAttributesStatusRecord status=Status.UNSUPPORTED_ATTRIBUTE attrid=16>]]
2019-03-16 11:45:07 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:1] initialize cluster listeners: -[(4, <zigpy.zcl.clusters.general.Groups object at 0x6fc45310>), (5, <zigpy.zcl.clusters.general.Scenes object at 0x6cba0ed0>), (0, <zigpy.zcl.clusters.general.Basic object at 0x709d0130>), (18, <zigpy.zcl.clusters.general.MultistateInput object at 0x6fda3fb0>), (1280, <zigpy.zcl.clusters.security.IasZone object at 0x6cc0f250>)]- 
2019-03-16 11:45:10 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:1] bind input-cluster 0: [0]
2019-03-16 11:45:13 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:1] bind input-cluster 18: [0]
2019-03-16 11:45:14 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform zha_new is taking over 10 seconds.
2019-03-16 11:45:14 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform zha_new is taking over 10 seconds.
2019-03-16 11:45:14 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform zha_new is taking over 10 seconds.
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:1] bind input-cluster 1280: [0]
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:1] exit make binary-sensor 
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] set Entity object: <class 'custom_components.zha_new.binary_sensor.BinarySensor'>-00:15:8d:00:02:c9:39:62_1 
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] Return binary_sensor init-cluster {0: <zigpy.zcl.clusters.general.Basic object at 0x709d0130>, 3: <zigpy.zcl.clusters.general.Identify object at 0x6fda9c90>, 25: <zigpy.zcl.clusters.general.Ota object at 0x6fda9470>, 65535: <zigpy.zcl.clusters.manufacturer_specific.ManufacturerSpecificCluster object at 0x6fda3fd0>, 18: <zigpy.zcl.clusters.general.MultistateInput object at 0x6fda3fb0>, 1280: <zigpy.zcl.clusters.security.IasZone object at 0x6cc0f250>}
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new] Restore state for binary_sensor.lumi_lumi_remote_b286acn01_02c93962_1:
2019-03-16 11:45:17 DEBUG (MainThread) [custom_components.zha_new] Restore failed for binary_sensor.lumi_lumi_remote_b286acn01_02c93962_1: 'NoneType' object has no attribute 'state'
2019-03-16 11:45:22 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] bind/write cie failed
2019-03-16 11:45:22 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:2] initialize cluster listeners: -[(4, <zigpy.zcl.clusters.general.Groups object at 0x6fda7610>), (5, <zigpy.zcl.clusters.general.Scenes object at 0x6ccd2810>), (18, <zigpy.zcl.clusters.general.MultistateInput object at 0x70c87fd0>), (1280, <zigpy.zcl.clusters.security.IasZone object at 0x6ccdc730>)]- 
2019-03-16 11:45:22 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] bind/write cie failed
2019-03-16 11:45:22 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:3] initialize cluster listeners: -[(4, <zigpy.zcl.clusters.general.Groups object at 0x701ad450>), (5, <zigpy.zcl.clusters.general.Scenes object at 0x701ad1f0>), (1280, <zigpy.zcl.clusters.security.IasZone object at 0x701ad090>)]- 
2019-03-16 11:45:23 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:2] bind input-cluster 18: [0]
2019-03-16 11:45:24 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.power_strip_2 is taking over 10 seconds
2019-03-16 11:45:26 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:2] bind input-cluster 1280: [0]
2019-03-16 11:45:26 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] [0x031a:2] exit make binary-sensor 
2019-03-16 11:45:26 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] set Entity object: <class 'custom_components.zha_new.binary_sensor.BinarySensor'>-00:15:8d:00:02:c9:39:62_2 
2019-03-16 11:45:27 DEBUG (MainThread) [custom_components.zha_new.binary_sensor] Return binary_sensor init-cluster {3: <zigpy.zcl.clusters.general.Identify object at 0x6fd9f050>, 18: <zigpy.zcl.clusters.general.MultistateInput object at 0x70c87fd0>, 1280: <zigpy.zcl.clusters.security.IasZone object at 0x6ccdc730>}
2019-03-16 11:45:27 DEBUG (MainThread) [custom_components.zha_new] Restore state for binary_sensor.lumi_lumi_remote_b286acn01_02c93962_2:
2019-03-16 11:45:27 DEBUG (MainThread) [custom_components.zha_new] Restore failed for binary_sensor.lumi_lumi_remote_b286acn01_02c93962_2: 'NoneType' object has no attribute 'state'
estevez-dev commented 5 years ago

Ah sorry, entities created successfully! I'll check if it works fine later, and will create PR.

estevez-dev commented 5 years ago

It works but not like my first switch with the same model number. Here I have 3 entities, but can handle single, double and hold events from left or right button. The first switch connected in #71 can fire only single clicks, but from left, right and both buttons. Created a PR.

estevez-dev commented 5 years ago

I think we can close this as PR was merged.

Yoda-x commented 5 years ago

yes many thanks