So i a trying to make a simple doorbell using the gatway and a wireless switch but I am getting below error:
Does anyone know why am getting this error? If i reboot it Hassio won’t load but I am able to samba into my raspberry pi and clear the script and it reboots fine.
Below is just simple automation, i was hoping to add more conditoin but right now it doesn’t even work.
Here is my code: no blank spaces
- alias: Door Bell
trigger:
platform: event
event_type: click
event_data:
entity_id: binary_sensor.switch_158d0001ae7587
click_type: single
action:
service: xiaomi_aqara.play_ringtone
data:
gw_mac: XX:XX:XX:XX:XX:XX
ringtone_id: 10
ringtone_vol: 8