Remove worktop sensor that has been removed
This commit is contained in:
parent
1f7706e0ab
commit
972953ff14
@ -48,53 +48,53 @@
|
|||||||
brightness_pct: 5
|
brightness_pct: 5
|
||||||
kelvin: 2700
|
kelvin: 2700
|
||||||
|
|
||||||
- id: kitchen-vibration
|
#- id: kitchen-vibration
|
||||||
alias: '[Kitchen] Vibration'
|
# alias: '[Kitchen] Vibration'
|
||||||
trigger:
|
# trigger:
|
||||||
- platform: state
|
# - platform: state
|
||||||
entity_id: binary_sensor.kitchen_worktop_accelerometer
|
# entity_id: binary_sensor.kitchen_worktop_accelerometer
|
||||||
to: 'on'
|
# to: 'on'
|
||||||
action:
|
# action:
|
||||||
- choose:
|
# - choose:
|
||||||
- conditions:
|
# - conditions:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: input_select.home_mode
|
# entity_id: input_select.home_mode
|
||||||
state: Day
|
# state: Day
|
||||||
- condition: numeric_state
|
# - condition: numeric_state
|
||||||
entity_id: sensor.kitchen_motion_sensor_illuminance
|
# entity_id: sensor.kitchen_motion_sensor_illuminance
|
||||||
below: '21'
|
# below: '21'
|
||||||
sequence:
|
# sequence:
|
||||||
- choose:
|
# - choose:
|
||||||
- conditions:
|
# - conditions:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: input_boolean.sleep_mode
|
# entity_id: input_boolean.sleep_mode
|
||||||
state: 'on'
|
# state: 'on'
|
||||||
sequence:
|
# sequence:
|
||||||
- service: light.turn_on
|
# - service: light.turn_on
|
||||||
entity_id: light.kitchen_lights
|
# entity_id: light.kitchen_lights
|
||||||
data:
|
# data:
|
||||||
brightness_pct: 100
|
# brightness_pct: 100
|
||||||
kelvin: 2000
|
# kelvin: 2000
|
||||||
- conditions:
|
# - conditions:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: input_boolean.sleep_mode
|
# entity_id: input_boolean.sleep_mode
|
||||||
state: 'off'
|
# state: 'off'
|
||||||
sequence:
|
# sequence:
|
||||||
- service: light.turn_on
|
# - service: light.turn_on
|
||||||
entity_id: light.kitchen_lights
|
# entity_id: light.kitchen_lights
|
||||||
data:
|
# data:
|
||||||
brightness_pct: 100
|
# brightness_pct: 100
|
||||||
kelvin: 3200
|
# kelvin: 3200
|
||||||
- conditions:
|
# - conditions:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: input_select.home_mode
|
# entity_id: input_select.home_mode
|
||||||
state: Night
|
# state: Night
|
||||||
sequence:
|
# sequence:
|
||||||
- service: light.turn_on
|
# - service: light.turn_on
|
||||||
entity_id: light.kitchen_lights
|
# entity_id: light.kitchen_lights
|
||||||
data:
|
# data:
|
||||||
brightness_pct: 5
|
# brightness_pct: 5
|
||||||
kelvin: 2700
|
# kelvin: 2700
|
||||||
|
|
||||||
- id: kitchen-lights-off
|
- id: kitchen-lights-off
|
||||||
alias: '[Kitchen] Lights Off'
|
alias: '[Kitchen] Lights Off'
|
||||||
@ -105,22 +105,22 @@
|
|||||||
for: '0:02:00'
|
for: '0:02:00'
|
||||||
from: 'on'
|
from: 'on'
|
||||||
to: 'off'
|
to: 'off'
|
||||||
- platform: state
|
# - platform: state
|
||||||
entity_id: binary_sensor.kitchen_worktop_accelerometer
|
# entity_id: binary_sensor.kitchen_worktop_accelerometer
|
||||||
for: '0:02:00'
|
# for: '0:02:00'
|
||||||
from: 'on'
|
# from: 'on'
|
||||||
to: 'off'
|
# to: 'off'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.kitchen_motion_sensor
|
entity_id: binary_sensor.kitchen_motion_sensor
|
||||||
state: 'off'
|
state: 'off'
|
||||||
for: '0:02:00'
|
for: '0:02:00'
|
||||||
- condition: not
|
# - condition: not
|
||||||
conditions:
|
# conditions:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: binary_sensor.kitchen_worktop_accelerometer
|
# entity_id: binary_sensor.kitchen_worktop_accelerometer
|
||||||
state: 'off'
|
# state: 'off'
|
||||||
for: '0:02:00'
|
# for: '0:02:00'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
|
@ -362,7 +362,7 @@
|
|||||||
data:
|
data:
|
||||||
title: "Device unavailable"
|
title: "Device unavailable"
|
||||||
message: >
|
message: >
|
||||||
{{ state_attr(trigger.event.data.entity_id, 'friendly_name') }} is unavailable for 5 minutes
|
{{ state_attr(trigger.data.entity_id, 'friendly_name') }} is unavailable for 5 minutes
|
||||||
data:
|
data:
|
||||||
channel: Notfall
|
channel: Notfall
|
||||||
priority: high
|
priority: high
|
||||||
|
Loading…
Reference in New Issue
Block a user