mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
use vibration sensor for titanium anti-theft
This commit is contained in:
@@ -251,3 +251,22 @@ automation:
|
||||
data:
|
||||
name: "🖥 Devices · "
|
||||
message: "Titanium · Turning off - idling for 3 hours"
|
||||
|
||||
- alias: Titanium · Notify on vibration sensor move
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: "z2m_deconz/vibration_sensor"
|
||||
condition:
|
||||
condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.georgi_home
|
||||
state: 'off'
|
||||
action:
|
||||
- service: notify.mobile_app_carbon
|
||||
data:
|
||||
title: "Titanium"
|
||||
message: "Alert: Titanium sensor moved"
|
||||
data:
|
||||
push:
|
||||
thread-id: "titanium"
|
||||
|
||||
Reference in New Issue
Block a user