I use such automation script:
- id: '1549489824574'
alias: teste tasteR
trigger:
platform: event
event_type: xiaomi_aqara.click
event_data:
entitiy_id: binary_sensor.wall_switch_right_1
click_type: single
action:
service: notify.telegram_frank
data:
message: taste rechts
- id: '1549489824575'
alias: teste tasteL
trigger:
platform: event
event_type: xiaomi_aqara.click
event_data:
entitiy_id: binary_sensor.wall_1_left
click_type: single
action:
service: notify.telegram_frank
data:
message: taste links
When I press the right button on the wall switch both scripts are started
this is done als when i press the lft button.
Logfile:
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.components.automation] Executing teste tasteR
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.helpers.script] Script teste tasteR: Running script
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.helpers.script] Script teste tasteR: Executing step call service
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.components.automation] Executing teste tasteL
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.helpers.script] Script teste tasteL: Running script
2019-03-06 14:19:31 INFO (MainThread) [homeassistant.helpers.script] Script teste tasteL: Executing step call service
Any ideas?