Koenkk / zigbee-herdsman-converters

Collection of device converters to be used with zigbee-herdsman
MIT License
880 stars 2.91k forks source link

Vesternet VES-ZB-REM-013 multiple commands for on and off action #7552

Open lukasjakobi opened 3 months ago

lukasjakobi commented 3 months ago

I noticed that the Vesternet VES-ZB-REM-013 outputs 4 separate action states (f.e."on_1", "on_2", "on_3", "on_4") when pressing the top on and off buttons. This causes Home Assistant to sometimes output a WARNING log with message Already running and thus dropping the action.

I think a better solution can be to add the two actions as separate actions, "on" and "off".

Can this be fixed with a change to the converter definition or is this a firmware problem?

Converter Definition

https://github.com/Koenkk/zigbee-herdsman-converters/blob/cc15841e139d02ae49ac46eeb3480edc9f5b5074/src/devices/vesternet.ts#L58-L81

lukasjakobi commented 3 months ago

Also for this device the buttons labeled "S1" and "S2" are also sending 4 events each. They follow the pattern of "recall{1-2}{1-4}". For using this device with Home Assistant this is not very useful. On the other hand i know that this behavior is expected when paring the remote to Zigbee bulbs directly.