I have four Homematic switches in the hallway, which makes each automation rule start like this:
trigger:
- platform: event
event_type: homematic.keypress
event_data:
name: MEQ1850393
channel: 1
param: PRESS_SHORT
- platform: event
event_type: homematic.keypress
event_data:
name: MEQ1850385
channel: 1
param: PRESS_SHORT
- platform: event
event_type: homematic.keypress
event_data:
name: MEQ0085036
channel: 1
param: PRESS_SHORT
- platform: event
event_type: homematic.keypress
event_data:
name: MEQ0159704
channel: 1
param: PRESS_SHORT
Is there a way to group the switches to act as one?