Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102840

Can triggered automations have confirmation before executing?

$
0
0

I would like to know if there is anyway to confirm an automation before running ?

I have setup a telegram bot and with that my trusted friends can unlock my door with a simple command like /door when they enter it at telegram. /door command activates an automation in HA which unlocks the house door.

alias: Telegram - /door
description: ''
trigger:
  - platform: event
    event_type: telegram_command
    event_data:
      command: /door
condition: []
action:
  - service: telegram_bot.send_message
    data_template:
      target: '{{ trigger.event.data.chat_id }}'
      message: Tamam {{ trigger.event.data["from_first"] }}, Sokak kapısı açıldı!
  - type: turn_on
    device_id: 584c23e38e377e02a283a93483e10f32
    entity_id: switch.berko
    domain: switch
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - type: turn_off
    device_id: 584c23e38e377e02a283a93483e10f32
    entity_id: switch.berko
    domain: switch
mode: single

I would like to know if this automation whenever its triggered asks a confirmation before executing ?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 102840

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>