Hi,
I am having an issue where brightness up or down on button hold with a Ikea E1743 and Philips Hue Colour bulbs no longer works using z2m.
It was working some time ago with a switch that was very rarely used and i added a few more bulbs and another switch this weekend and noticed that the new bulbs woulden’t change brightness on hold, tried the old switch and is was also no longer working.
I have tried adding mappings for default actions and on/off works but brightness still wont change.
mapping:
"on": "on"
"off": "off"
up_hold: hold_brightness_up
down_hold: hold_brightness_down
here is what is currently in my apps.yaml
study_controller:
module: controllerx
class: E1743Controller
controller: sensor.study_switch_click
integration: z2m
light: light.study_light
hall_controller_1:
module: controllerx
class: E1743Controller
controller: sensor.hall_switch_click
integration: z2m
light: light.hall_light_1_light
hall_controller_2:
module: controllerx
class: E1743Controller
controller: sensor.hall_switch_click
integration: z2m
light: light.hall_light_2_light
hall_controller_3:
module: controllerx
class: E1743Controller
controller: sensor.hall_switch_click
integration: z2m
light: light.hall_light_3_light
hall_controller_4:
module: controllerx
class: E1743Controller
controller: sensor.hall_switch_click
integration: z2m
light: light.hall_light_4_light
and the z2m log from trying to lower brightness
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"on","battery":74,"click":"on","linkquality":84,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"","battery":74,"linkquality":84,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"battery":74,"click":"","linkquality":84,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Switch/action', payload 'on'
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Switch/click', payload 'on'
info 2020-11-11 12:08:36: MQTT publish: topic 'zigbee2mqtt/Study Light', payload '{"brightness":254,"linkquality":87,"state":"ON","update":{"state":"idle"},"update_available":false}'
info 2020-11-11 12:08:39: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"brightness_move_down","action_rate":83,"battery":74,"click":"brightness_down","linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:39: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"","battery":74,"linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:39: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"battery":74,"click":"","linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:08:39: MQTT publish: topic 'zigbee2mqtt/Study Switch/action', payload 'brightness_move_down'
info 2020-11-11 12:08:39: MQTT publish: topic 'zigbee2mqtt/Study Switch/click', payload 'brightness_down'
info 2020-11-11 12:09:07: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"brightness_stop","battery":74,"click":"brightness_stop","linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:09:07: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"action":"","battery":74,"linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:09:07: MQTT publish: topic 'zigbee2mqtt/Study Switch', payload '{"battery":74,"click":"","linkquality":87,"update":{"state":"available"},"update_available":true}'
info 2020-11-11 12:09:07: MQTT publish: topic 'zigbee2mqtt/Study Switch/action', payload 'brightness_stop'
info 2020-11-11 12:09:07: MQTT publish: topic 'zigbee2mqtt/Study Switch/click', payload 'brightness_stop'
Has anyone any ideas what’s going wrong?