Add Office Vibration sensor
This commit is contained in:
parent
894a5d9980
commit
322d536967
@ -112,6 +112,28 @@
|
||||
data:
|
||||
url: "/lovelace-tablet/security"
|
||||
|
||||
- id: alarm-away-test-vibration
|
||||
alias: '[Alarm] Window vibration test'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.office_vibration
|
||||
to: 'on'
|
||||
condition:
|
||||
# - condition: state
|
||||
# entity_id: alarm_control_panel.home_alarm
|
||||
# state: armed_away
|
||||
action:
|
||||
# - service: alarm_control_panel.alarm_trigger
|
||||
# entity_id: alarm_control_panel.home_alarm
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Vibration Test ALARM!"
|
||||
message: >
|
||||
{{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
entity_id: camera.living_room
|
||||
url: "/lovelace-tablet/security"
|
||||
|
||||
- id: alarm-night
|
||||
alias: '[Alarm] Trigger alarm at night'
|
||||
trigger:
|
||||
|
@ -161,6 +161,9 @@
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_thermostat_battery_level
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_window_vibration_sensor_battery
|
||||
- platform: numeric_state
|
||||
below: '10'
|
||||
entity_id: sensor.office_window_sensor_battery
|
||||
|
@ -303,12 +303,6 @@
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
# Front door vibration
|
||||
- device_id: f5e5356b4a45190ec2dad08ca9f991e8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
# Hallway Button
|
||||
- device_id: cc4f08a2e2f0e5aebc43b87164378795
|
||||
domain: zha
|
||||
@ -430,6 +424,12 @@
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
# Office Window vibration
|
||||
- device_id: f5e5356b4a45190ec2dad08ca9f991e8
|
||||
domain: zha
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
# Printer button
|
||||
- device_id: 0c23a8e92f43f628e584dc1805c6915e
|
||||
domain: zha
|
||||
|
Loading…
Reference in New Issue
Block a user