Untitled

 avatar
unknown
plain_text
2 years ago
608 B
1
Indexable
alias: Actionable Notify - Lights
description: ""
trigger: []
condition: []
action:
  - service: script.activate_alexa_actionable_notification
    data:
      text: Would you like to turn your office light on?
      event_id: actionable_notification_event
      alexa_device: media_player.loft_echo
  - wait_for_trigger:
      - platform: event
        event_type: alexa_actionable_notification
        event_data:
          event_id: actionable_notification_event
          event_response_type: ResponseYes
  - service: light.turn_on
    data: {}
    target:
      entity_id: light.loft_lights
mode: single