controllerx: [BUG] Brightness down not working on Ikea E1810 & E1743 ZHA

Bug report

Description

Everything but the the brightness down button on both E1810 & E1743 (4 units) donโ€™t seem to work. Even with merge mapping.

Iโ€™ve confirmed that the zha_event is received on HA, But the AppDaemon logs donโ€™t show anything for that button press.

Additional information

  • Devices involved:
    • Model: E1810 & E1743
    • โ€ฆ
  • Integration: Choose from zha
  • AppDaemon version: 4.2.1
  • ControllerX version: 4.18.2
  • HACS version (if installed from there): 1.24.3
  • Home Assistant Core version: 2022.4.1

AppDaemon app configuration

foyer_ikea_dimmer_2:
  module: controllerx
  class: E1743Controller
  controller: 
  integration: zha
  light: light.foyer_down_lights

livingroom_ikea_5button:
  module: controllerx
  class: E1810Controller
  controller: 
  integration: zha
  light: light.living_room_down_lights

Logs



2022-04-12 16:12:16.758039 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (release)` now
--
2022-04-12 16:12:16.749551 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `stop`
2022-04-12 16:12:15.008347 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (release)` now
2022-04-12 16:12:14.999302 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `stop`
2022-04-12 16:12:12.429111 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (release)` now
2022-04-12 16:12:12.419935 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `stop`
2022-04-12 16:12:10.063373 INFO livingroom_ikea_5button: ๐Ÿค– Service: light.turn_on - entity_id: light.living_room_down_lights - color_temp: 352.30 - transition: 0.30
2022-04-12 16:12:10.039859 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (click_color_down)` now
2022-04-12 16:12:10.031101 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `press_257_13_0`
2022-04-12 16:12:08.740953 INFO livingroom_ikea_5button: ๐Ÿค– Service: light.turn_on - entity_id: light.living_room_down_lights - color_temp: 387.70 - transition: 0.30
2022-04-12 16:12:08.713720 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (click_color_up)` now
2022-04-12 16:12:08.706206 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `press_256_13_0`
2022-04-12 16:12:06.533361 INFO livingroom_ikea_5button: ๐Ÿค– Service: light.turn_on - entity_id: light.living_room_down_lights - brightness: 255 - transition: 0.30
2022-04-12 16:12:06.506307 INFO livingroom_ikea_5button: ๐Ÿƒ Running `Predefined (click_brightness_up)` now
2022-04-12 16:12:06.498528 INFO livingroom_ikea_5button: ๐ŸŽฎ Button event triggered: `step_with_on_off_0_43_5`


Additional Context

Add any other context or screenshots about the bug here.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Perfectly makes sense, thanks a lot @xaviml for the work!

Upgrading to 2022.4.3 fixed it for me. I had added "step_1_43_5_0_0": MediaPlayer.CLICK_VOLUME_DOWN, to ikea.py when I was on 2022.4.2, but that didnโ€™t work until I upgraded to 2022.4.3. AppDaemon is triggering off the extra args.

2022-04-13 15:02:37.472563 INFO tradfri_dining_media_app: ๐Ÿค– Service: media_player.volume_set - entity_id: media_player.dining_room - volume_level: 0 2022-04-13 15:02:37.459447 INFO tradfri_dining_media_app: ๐Ÿƒ Running Predefined (click_volume_down) now 2022-04-13 15:02:37.449570 INFO tradfri_dining_media_app: ๐ŸŽฎ Button event triggered: step_1_43_5_0_0

All good now. Thank you!