#Is it possible to assign automations to the button on the Home Assistant Voice Preview Edition?

1 messages · Page 1 of 1 (latest)

tropic juniper
#

I tried something like this, but does not seem to trigger.

`alias: Dining Room Assistant Button
description: >
Trigger Night Time Script and perform light sequence when the Dining Room
Assistant button detects a long press.
triggers:

  • entity_id: event.home_assistant_voice_095XXX_button_press
    to: triple_press
    trigger: state
    conditions: []
    actions:
  • parallel:
    • action: script.toggle_entryway_status_green
      data: {}
    • action: script.night_time_turn_off_all_fast
      data: {}
      mode: single`

Also tried listening to events for event.home_assistant_voice_095XXX_button_press and don't see anything.

fading latch
#

``alias: button example
description: ""
triggers:

  • trigger: state
    entity_id:
    • event.mk_room_voice_button_press
      conditions: []
      actions:
  • choose:
    • conditions:
      • condition: state
        entity_id: event.mk_room_voice_button_press
        attribute: event_type
        state: double_press
        sequence: []
    • conditions:
      • condition: state
        entity_id: event.mk_room_voice_button_press
        attribute: event_type
        state: triple_press
        sequence: []
        mode: single
        ``
#

replace with your devices enitty and add your actions to the correct places