Alexa Actionable Notifications multiple response types

Does anyone know how to add (or if it is even possible) multiple event_response_type. I have pets in the house and when we are home I have no problem responding to "the lights in the bedroom have been on x minutes. Would you like me to shut them off? But when we are out and the pets trigger the motion sensor I obviously cannot answer that question and as I understand it a ResponseNone would turn the off, but can I add that to the existing automation or do I need to create another two automations.

Here is an example of an automation with all three response types:

  - alias: LC Computer Room Light Control From Response
    trigger:
      - platform: event
        event_type: alexa_actionable_notification
        event_data:
          event_id: actionable_notification_turn_off_cr_lights
          event_response_type: ResponseYes
      - platform: event
        event_type: alexa_actionable_notification
        event_data:
          event_id: actionable_notification_turn_off_cr_lights
          event_response_type: ResponseNone
      - platform: event
        event_type: alexa_actionable_notification
        event_data:
          event_id: actionable_notification_turn_off_cr_lights
          event_response_type: ResponseNo
    condition:
      - condition: time
        before: '23:00:00'
        after: '08:00:00'
    action:
      choose:
        - conditions:
            - '{{ trigger.event.data.event_response_type == "ResponseYes" or trigger.event.data.event_response_type == "ResponseNone" }}'
          sequence:
            - service: light.turn_off
              entity_id: 
                - light.computer_room_ceiling_light
                - light.comp_corner_lamp_1df9
            - service: fan.turn_off
              entity_id: fan.computer_room
        - conditions:
            - '{{ trigger.event.data.event_response_type == "ResponseNo" }}'
          sequence:
            - service: input_boolean.turn_on
              entity_id: input_boolean.lc_cr_light_reset_off_timer
1 Like

Thanks’ appreciate your time in helping me out.

1 Like

I have a similar usecase. But in my case the first automation triggers Alexa, but if nobody answers the second automation doesn’t get triggered.

- id: '1659889513153'
  alias: Actionable_Niemand_da
  description: ''
  trigger:
  - platform: state
    entity_id:
    - device_tracker.lt716_tracker
    from: Zu Hause
    for:
      hours: 0
      minutes: 5
      seconds: 0
    to: Abwesend
  condition: []
  action:
  - service: script.activate_alexa_actionable_notification
    data:
      text: Es wurde niemand mehr im Haus erkannt. Ist noch jemand da?
      event_id: check_somebody_here
      alexa_device: media_player.wohnzimmer
  mode: single
- id: '1659889864904'
  alias: actionable_niemand_da_antwort
  description: ''
  trigger:
    - platform: event
      event_type: alexa_actionable_notification
      event_data:
        event_id: check_somebody_here
        event_response_type: ResponseYes
    - platform: event
      event_type: alexa_actionable_notification
      event_data:
        event_id: check_somebody_here
        event_response_type: ResponseNone
    - platform: event
      event_type: alexa_actionable_notification
      event_data:
        event_id: check_somebody_here
        event_response_type: ResponseNo
  condition: []
  action:
  - type: toggle
    device_id: 774eccb10ada7d9ab6631c86ed819013
    entity_id: light.flurlicht
    domain: light
  mode: single

At the moment i would let the second automation simply toggle the lights without checking which response was given. But if i give no response nothing happens.

I’ve just used this, yes and no work but responsenone isn’t triggering anything in the trace. Has something changed?

Not that I know of.

Did a bit more testing and found it for some reason gets stuck because if i trigger the event again it comes through twice.

1 Like