Hi,
I have three Aqara cubes and want to have the same gestures binded to the same actions on all cubes. Therefore I want to use one automation for all three cubes. I can not find a syntax working with multiple entities as triggers.
This works:
- alias: cube_event_flip_180
trigger:
platform: event
event_type: xiaomi_aqara.cube_action
event_data:
entity_id: binary_sensor.cube_158d0002a6f758
action_type: flip180
action:
- service: light.toggle
entity_id: light.livingroomsubbulb
This does not work:
- alias: cube_event_flip_180
trigger:
platform: event
event_type: xiaomi_aqara.cube_action
event_data:
entity_id: binary_sensor.cube_158d0002a37196, binary_sensor.cube_158d0002a6f758, binary_sensor.cube_158d00010b265c
action_type: flip180
action:
- service: light.toggle
entity_id: light.livingroomsubbulb
This does also not work:
- alias: cube_event_flip_180
trigger:
platform: event
event_type: xiaomi_aqara.cube_action
event_data:
entity_id:
- binary_sensor.cube_158d0002a37196
- binary_sensor.cube_158d0002a6f758
- binary_sensor.cube_158d00010b265c
action_type: flip180
action:
- service: light.toggle
entity_id: light.livingroomsubbulb
Does anyone know how to include all three cubes?