Skip to content

[BUG] Event is received from switch but light is not actuated in HA #1324

@convicte

Description

@convicte

Bug report

Description

I've integrated ControllerX as instructed in the documentation.
Some apps work while others don't.

I've used to use the currently faulty apps for years but for about 6-8 months it's busted.

Very simple setup:

  1. Light entity is present and working by all other modes of interaction.
  2. Z2M has the experimental event enabled and working
  3. Evens from the E1810 are being received in the Apps interface of the Deamon:
Image

The shelly switch also in the config works just fine.

Additional information

  • Devices involved:
    • Model: [ eg. IKEA 1744 ] as [ Light | Media Player | Controller ]
      E1810Controller and E1743Controller
  • Integration: Choose from z2m
  • AppDaemon version: AppDaemon v4.5.13
  • ControllerX version: ControllerX v5.2.3
  • HACS version (if installed from there): HACS 2.0.5
  • Home Assistant Core version: 26.2.2

AppDaemon app configuration

Insert your appdaemon app configuration here (apps.yaml content).
Insert only the configuration relative to the faulty controllerx app.

office:
  module: controllerx
  class: E1810Controller
  integration:
    name: z2m
    listent_to: event
  controller: event.multi1_action
  light: light.office_lamp
  # merge_mapping:
  #   toggle$2:
  #     service: light.toggle
  #     data:
  #       entity_id: light.office_lamp

garage_led:
  module: controllerx
  class: E1743Controller
  controller: event.dim_2_action
  integration:
    name: z2m
    listent_to: event
  light: light.garage_cabinets_led

Logs

(optional) Add relevant AppDaemon / Home Assistant logs which could help tackle the problem.

Not sure if this is related but inspite of using the listen_to: even I am still seeing the error:

Image

Additional Context

Add any other context or screenshots about the bug here.

Image Image
event_type: state_changed
data:
  entity_id: event.multi1_action
  old_state:
    entity_id: event.multi1_action
    state: "2026-02-26T13:22:11.292+00:00"
    attributes:
      event_types:
        - toggle
        - brightness_up_click
        - brightness_down_click
        - brightness_up_hold
        - brightness_up_release
        - brightness_down_hold
        - brightness_down_release
        - hold
        - arrow_left_click
        - arrow_left_hold
        - arrow_left_release
        - arrow_right_click
        - arrow_right_hold
        - arrow_right_release
      event_type: toggle
      icon: mdi:gesture-double-tap
      friendly_name: Multi1 Action
    last_changed: "2026-02-26T13:22:11.293013+00:00"
    last_reported: "2026-02-26T13:22:11.293013+00:00"
    last_updated: "2026-02-26T13:22:11.293013+00:00"
    context:
      id: 01KJD1TD6X9CNXG97CRJG6CH3J
      parent_id: null
      user_id: null
  new_state:
    entity_id: event.multi1_action
    state: "2026-02-26T13:22:45.230+00:00"
    attributes:
      event_types:
        - toggle
        - brightness_up_click
        - brightness_down_click
        - brightness_up_hold
        - brightness_up_release
        - brightness_down_hold
        - brightness_down_release
        - hold
        - arrow_left_click
        - arrow_left_hold
        - arrow_left_release
        - arrow_right_click
        - arrow_right_hold
        - arrow_right_release
      event_type: toggle
      icon: mdi:gesture-double-tap
      friendly_name: Multi1 Action
    last_changed: "2026-02-26T13:22:45.231089+00:00"
    last_reported: "2026-02-26T13:22:45.231089+00:00"
    last_updated: "2026-02-26T13:22:45.231089+00:00"
    context:
      id: 01KJD1VEBFEQGE7SKD86JGN790
      parent_id: null
      user_id: null
origin: LOCAL
time_fired: "2026-02-26T13:22:45.231089+00:00"
context:
  id: 01KJD1VEBFEQGE7SKD86JGN790
  parent_id: null
  user_id: null

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions