1
0
Fork 0

Compare commits

...

8 commits

7 changed files with 97 additions and 52 deletions

View file

@ -66,7 +66,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '120'
below: '150'
for:
hours: 0
minutes: 0
@ -74,7 +74,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '120'
below: '150'
for:
hours: 0
minutes: 1
@ -82,7 +82,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '120'
below: '150'
for:
hours: 0
minutes: 2
@ -90,7 +90,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '120'
below: '150'
for:
hours: 0
minutes: 3

View file

@ -1,6 +1,5 @@
- id: front-door-open-notify
alias: '[INFO] Front door left open'
description: ''
mode: single
trigger:
- platform: state
@ -19,32 +18,6 @@
- action: LOCK_DOOR
title: Lock door
- id: front-door-knock
alias: '[Front Door] Knock'
trigger:
- type: vibration
platform: device
device_id: f5e5356b4a45190ec2dad08ca9f991e8
entity_id: binary_sensor.front_door_vibration
domain: binary_sensor
condition:
- condition: state
entity_id: binary_sensor.front_door_open_close
state: 'off'
- condition: state
entity_id: binary_sensor.hallway_motion_sensor
state: 'off'
action:
- service: notify.mobile_app_iphone
data:
message: Someone knock
data:
actions:
- action: LOCK_DOOR
title: Lock door
- service: script.turn_on
entity_id: script.doorbell_bell
- id: front-door-open-close
alias: '[Front Door] Open door'
mode: single
@ -56,3 +29,19 @@
domain: binary_sensor
action:
- service: script.hallway_lights_on
- id: front-door-invalid-state
alias: '[Front Door] Notify about wrong state'
mode: single
trigger:
- platform: state
entity_id: binary_sensor.front_door_open_close
to: 'on'
condition:
- condition: state
entity_id: lock.front_door_lock_doorlock
state: locked
action:
- service: notify.mobile_app_iphone
data:
message: Front door opens but lock is still in status 'locked'

View file

@ -89,6 +89,9 @@
- platform: numeric_state
below: '10'
entity_id: sensor.dining_blinds_controller_battery
- platform: numeric_state
below: '10'
entity_id: sensor.dining_blind_back_battery
- platform: numeric_state
below: '10'
entity_id: sensor.dining_thermostat_battery_level
@ -128,6 +131,9 @@
- platform: numeric_state
below: '10'
entity_id: sensor.hallway_motion_battery
- platform: numeric_state
below: '10'
entity_id: sensor.kitchen_button_power
- platform: numeric_state
below: '10'
entity_id: sensor.kitchen_motion_sensor_battery_level
@ -155,6 +161,9 @@
- platform: numeric_state
below: '10'
entity_id: sensor.office_window_sensor_battery
- platform: numeric_state
below: '10'
entity_id: sensor.printer_button_battery
- platform: numeric_state
below: '10'
entity_id: sensor.rack_smoke_sensor_battery

View file

@ -10,7 +10,7 @@
type: device_offline
subtype: device_offline
# 3D Printer Enclosure Fan
- device_id: 3d87588b498ed4a82627d0081332015f
- device_id: d828efb2920a65f809572b4443949c34
domain: zha
platform: device
type: device_offline
@ -225,6 +225,12 @@
platform: device
type: device_offline
subtype: device_offline
# Dining Blind Back
- device_id: 2911be746852886077667b2a884c1e61
domain: zha
platform: device
type: device_offline
subtype: device_offline
# Dining Blind Left
- device_id: fc2d6b608eb4ed7111647ac3f6557677
domain: zha
@ -321,12 +327,6 @@
platform: device
type: device_offline
subtype: device_offline
# Kitchen Camera Outlet
- device_id: d828efb2920a65f809572b4443949c34
domain: zha
platform: device
type: device_offline
subtype: device_offline
# Kitchen Coffee machine
- device_id: 9e869c08e1f92a2f3d8a85c0d1b11dd7
domain: zha
@ -424,6 +424,18 @@
platform: device
type: device_offline
subtype: device_offline
# Printer button
- device_id: 0c23a8e92f43f628e584dc1805c6915e
domain: zha
platform: device
type: device_offline
subtype: device_offline
# Rack Outlet
- device_id: 54858d52b175bc720641cf916d513488
domain: zha
platform: device
type: device_offline
subtype: device_offline
# Rack Modem
- device_id: f78edddd4ac841160c71f4a2b06b690c
domain: zha

View file

@ -0,0 +1,36 @@
- id: kitchen-freezer-open
alias: '[Kitchen] Freezer open'
mode: single
trigger:
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'on'
for: "0:01:00"
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'on'
for: "0:02:00"
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'on'
for: "0:05:00"
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'on'
for: "0:10:00"
- platform: state
entity_id: binary_sensor.freezer_door_on_off
to: 'on'
for: "0:15:00"
action:
- service: notify.mobile_app_iphone
data:
title: "Freezer left open"
message: >
Freezer left open
data:
push:
sound:
name: "default"
critical: 1
volume: 1.0

View file

@ -0,0 +1,13 @@
- id: rack-printer-button
alias: '[Rack] Printer toggle button'
trigger:
- device_id: 0c23a8e92f43f628e584dc1805c6915e
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- service: switch.toggle
data: {}
target:
entity_id: switch.printer_switch

View file

@ -20,7 +20,6 @@ good_night:
- service: switch.turn_off
entity_id:
- switch.printer_switch
- switch.xmas_lights_on_off
- service: script.humidifier_off
- service: cover.close_cover
entity_id:
@ -112,7 +111,6 @@ good_morning:
- service: switch.turn_on
entity_id:
- switch.computer_outlet
- switch.xmas_lights_on_off
- service: script.humidifier_on
- service: switch.turn_off
entity_id: switch.mute_doorbell
@ -154,9 +152,6 @@ leave_home:
- service: light.turn_off
entity_id:
- light.3d_printer_light
- service: switch.turn_on
entity_id:
- switch.kitchen_camera_outlet_on_off
- service: switch.turn_off
entity_id:
- switch.printer_switch
@ -194,9 +189,6 @@ leave_home:
- climate.office_thermostat
- climate.dining_thermostat
- climate.bedroom_thermostat
- service: switch.turn_off
entity_id:
- switch.xmas_lights_on_off
- service: light.turn_off
entity_id:
- light.couch_lights
@ -231,12 +223,6 @@ arrive_home:
- service: switch.turn_on
entity_id:
- switch.computer_outlet
- switch.xmas_lights_on_off
- service: switch.turn_off
entity_id:
- switch.kitchen_state
- switch.hallway_state
- switch.kitchen_camera_outlet_on_off
- service: climate.set_temperature
data:
temperature: 23