1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
35ac0e351f Add Office Vibration sensor 2023-02-01 18:06:14 +01:00
894a5d9980 Add Office Motion Sensor 2023-02-01 18:03:19 +01:00
438c78c494 Remove sensor from alarm 2023-01-30 00:47:05 +01:00
3 changed files with 44 additions and 7 deletions

View File

@ -40,9 +40,12 @@
entity_id: binary_sensor.kitchen_motion_sensor
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_tabletop_motion_detection
entity_id: binary_sensor.office_sensor_motion
to: 'on'
# - platform: state
# entity_id: binary_sensor.kitchen_tabletop_motion_detection
# to: 'on'
# - platform: state
# entity_id: binary_sensor.kitchen_sink_motion_sensor
# to: 'on'
# Use open/close sensors
@ -109,6 +112,28 @@
data:
url: "/lovelace-tablet/security"
- id: alarm-away-test-vibration
alias: '[Alarm] Trigger alarm when not at home'
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:

View File

@ -155,9 +155,15 @@
- platform: numeric_state
below: '10'
entity_id: sensor.office_illuminance_sensor_battery
- platform: numeric_state
below: '10'
entity_id: sensor.office_motion_sensor_battery
- 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

View File

@ -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
@ -418,12 +412,24 @@
platform: device
type: device_offline
subtype: device_offline
# Office Motion Sensor
- device_id: 5dc8b6e216588033d4d31d8c3d561d70
domain: zha
platform: device
type: device_offline
subtype: device_offline
# Office Window
- device_id: ceab8d95ef12c5ebd406302ec0f4178d
domain: zha
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