scarpazza/home-assistant-konnected-tutorial

Unable to load siren automation

adipose opened this issue · 0 comments

I'm not sure how the top code works (it didn't, for me), but I changed it to the bottom code, and it works for me, now. Is the device_id a requirement for the "type: turn_on" actions?

  - type: turn_on
    device_id: fd74f7383b86bbd584f1f4da68e544f7
    entity_id: switch.siren
    domain: switch
  - service: switch.turn_on
    entity_id: switch.siren