mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-09 23:02:59 +00:00
Add telegram keyboard actions
This commit is contained in:
@@ -34,3 +34,33 @@ automation:
|
||||
- automation.coming_home
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.speech_notifications
|
||||
|
||||
- id: telegram_enable_guest_mode
|
||||
alias: Guest mode · Enable · From Telegram
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_command
|
||||
event_data:
|
||||
command: "/guest_mode_on"
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.guest_mode
|
||||
- service: notify.telegram
|
||||
data:
|
||||
title: "⚙️ *System Module*"
|
||||
message: "Okay, turning Guest mode on!"
|
||||
|
||||
- id: telegram_disable_guest_mode
|
||||
alias: Guest mode · Disable · From Telegram
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_command
|
||||
event_data:
|
||||
command: "/guest_mode_off"
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.guest_mode
|
||||
- service: notify.telegram
|
||||
data:
|
||||
title: "⚙️ *System Module*"
|
||||
message: "Okay, turning Guest mode off!"
|
||||
|
||||
Reference in New Issue
Block a user