use vibration sensor for titanium anti-theft

This commit is contained in:
2020-07-27 22:08:33 +03:00
parent 2b9dfcb5bd
commit 57d78e45b9
2 changed files with 27 additions and 0 deletions
@@ -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"