Hi All
I hawe two Xiaomi aqara GW
configuration:
xiaomi_aqara:
discovery_retry: 5
gateways:
- mac: 7811xxxxxxx
key: xxxxxxxxxxx
- mac: 7811yyyyyyy
key: yyyyyyyyyy
i try to use as doorbell:
alias: Ringing
trigger:
platform: event
event_type: click
event_data:
entity_id: binary_sensor.switch_15zzzzzzzzzzzzzz
click_type: single
action:
- service: notify.gmail
data:
message: 'Ringing {{now().strftime("%Y-%m-%d %H:%M:%S")}}'
- service: xiaomi_aqara.play_ringtone
data:
gw_mac: 7811xxxxxxxxx
ringtone_id: 10
ringtone_vol: 100
- delay:.
milliseconds: 100
- service: xiaomi_aqara.play_ringtone
data:
gw_mac: 7811yyyyyyyyy
ringtone_id: 10
ringtone_vol: 100
OR:
alias: Ringing
trigger:
platform: event
event_type: click
event_data:
entity_id: binary_sensor.switch_15zzzzzzzzzzzzzz
click_type: single
action:
- service: notify.gmail
data:
message: 'Ringing {{now().strftime("%Y-%m-%d %H:%M:%S")}}'
- service: xiaomi_aqara.play_ringtone
data:
gw_mac: 7811xxxxxxxxx
gw_mac: 7811yyyyyyyyy
ringtone_id: 10
ringtone_vol: 100
Only one gw ringing. why?