mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Add leaving work automation
This commit is contained in:
@@ -106,6 +106,20 @@ automation:
|
||||
title: "🏠 *Presence Module · Coming Home*"
|
||||
message: "Welcome home!"
|
||||
|
||||
- id: leaving_work
|
||||
alias: Presence · Leaving work
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: person.georgi
|
||||
from: "work"
|
||||
to: "not_home"
|
||||
action:
|
||||
- service: script.telegram_say
|
||||
data:
|
||||
title: "🏠 *Presence Module · Leaving Work*"
|
||||
message: "I see you're leaving work. Are you coming home?"
|
||||
inline_keyboard: "Yes:/leaving_home_routine, No"
|
||||
|
||||
#
|
||||
# ─── CUSTOMIZATION ──────────────────────────────────────────────────────────────
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user