mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 10:18:44 +00:00
Add leaving work automation
This commit is contained in:
@@ -106,6 +106,20 @@ automation:
|
|||||||
title: "🏠 *Presence Module · Coming Home*"
|
title: "🏠 *Presence Module · Coming Home*"
|
||||||
message: "Welcome 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 ──────────────────────────────────────────────────────────────
|
# ─── CUSTOMIZATION ──────────────────────────────────────────────────────────────
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user