mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config to a subfolder
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
input_boolean:
|
||||
guest_mode:
|
||||
name: Guest mode
|
||||
initial: off
|
||||
icon: mdi:human-greeting
|
||||
|
||||
automation:
|
||||
- alias: Guest mode · Enable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
from: "off"
|
||||
to: "on"
|
||||
action:
|
||||
- service: automation.turn_off
|
||||
entity_id:
|
||||
- automation.presence_leaving_home
|
||||
- automation.presence_coming_home
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.speech_notifications
|
||||
|
||||
- alias: Guest mode · Disable
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
from: "on"
|
||||
to: "off"
|
||||
action:
|
||||
- service: automation.turn_on
|
||||
entity_id:
|
||||
- automation.presence_leaving_home
|
||||
- automation.presence_coming_home
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.speech_notifications
|
||||
|
||||
- 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!"
|
||||
|
||||
- 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