mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
Add titanium automation
This commit is contained in:
@@ -234,3 +234,15 @@ script:
|
||||
data:
|
||||
topic: "iotlink/workgroup/titanium/refresh"
|
||||
payload: ""
|
||||
|
||||
automation:
|
||||
- alias: Titanium · Turn off when idle
|
||||
trigger:
|
||||
platform: numeric_state
|
||||
entity_id: sensor.titanium_idle_time
|
||||
above: 180
|
||||
action:
|
||||
- service: script.titanium_shutdown
|
||||
- service: script.say
|
||||
data:
|
||||
message: "Hey, I'm turning Titanium off. It's been idling for 3 hours."
|
||||
|
||||
Reference in New Issue
Block a user