Add kitchen tabetop sensor
This commit is contained in:
parent
243dd80de5
commit
60b31361af
@ -74,6 +74,9 @@
|
|||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
below: '10'
|
below: '10'
|
||||||
entity_id: sensor.sink_motion_sensor_power
|
entity_id: sensor.sink_motion_sensor_power
|
||||||
|
- platform: numeric_state
|
||||||
|
below: '10'
|
||||||
|
entity_id: sensor.kitchen_tabletop_motion_battery_level
|
||||||
condition: [ ]
|
condition: [ ]
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone_pg
|
- service: notify.mobile_app_iphone_pg
|
||||||
|
@ -417,6 +417,13 @@
|
|||||||
platform: device
|
platform: device
|
||||||
type: device_offline
|
type: device_offline
|
||||||
subtype: device_offline
|
subtype: device_offline
|
||||||
|
# Z-Wave Kitchen tabletop motion
|
||||||
|
- platform: device
|
||||||
|
device_id: c7bb75d230dd4f8a5b7ece910f00c583
|
||||||
|
domain: zwave_js
|
||||||
|
type: state.node_status
|
||||||
|
entity_id: sensor.node_6_node_status
|
||||||
|
to: dead
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone_pg
|
- service: notify.mobile_app_iphone_pg
|
||||||
data:
|
data:
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
entity_id: binary_sensor.kitchen_motion_sensor
|
entity_id: binary_sensor.kitchen_motion_sensor
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
- platform: state
|
||||||
|
entity_id: binary_sensor.kitchen_tabletop_motion_detection
|
||||||
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
@ -51,54 +54,6 @@
|
|||||||
brightness_pct: 5
|
brightness_pct: 5
|
||||||
kelvin: 2700
|
kelvin: 2700
|
||||||
|
|
||||||
#- id: kitchen-vibration
|
|
||||||
# alias: '[Kitchen] Vibration'
|
|
||||||
# trigger:
|
|
||||||
# - platform: state
|
|
||||||
# entity_id: binary_sensor.kitchen_worktop_accelerometer
|
|
||||||
# to: 'on'
|
|
||||||
# action:
|
|
||||||
# - choose:
|
|
||||||
# - conditions:
|
|
||||||
# - condition: state
|
|
||||||
# entity_id: input_select.home_mode
|
|
||||||
# state: Day
|
|
||||||
# - condition: numeric_state
|
|
||||||
# entity_id: sensor.kitchen_motion_sensor_illuminance
|
|
||||||
# below: '21'
|
|
||||||
# sequence:
|
|
||||||
# - choose:
|
|
||||||
# - conditions:
|
|
||||||
# - condition: state
|
|
||||||
# entity_id: input_boolean.sleep_mode
|
|
||||||
# state: 'on'
|
|
||||||
# sequence:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.kitchen_lights
|
|
||||||
# data:
|
|
||||||
# brightness_pct: 100
|
|
||||||
# kelvin: 2000
|
|
||||||
# - conditions:
|
|
||||||
# - condition: state
|
|
||||||
# entity_id: input_boolean.sleep_mode
|
|
||||||
# state: 'off'
|
|
||||||
# sequence:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.kitchen_lights
|
|
||||||
# data:
|
|
||||||
# brightness_pct: 100
|
|
||||||
# kelvin: 3200
|
|
||||||
# - conditions:
|
|
||||||
# - condition: state
|
|
||||||
# entity_id: input_select.home_mode
|
|
||||||
# state: Night
|
|
||||||
# sequence:
|
|
||||||
# - service: light.turn_on
|
|
||||||
# entity_id: light.kitchen_lights
|
|
||||||
# data:
|
|
||||||
# brightness_pct: 5
|
|
||||||
# kelvin: 2700
|
|
||||||
|
|
||||||
- id: kitchen-lights-off
|
- id: kitchen-lights-off
|
||||||
alias: '[Kitchen] Lights Off'
|
alias: '[Kitchen] Lights Off'
|
||||||
mode: restart
|
mode: restart
|
||||||
@ -111,7 +66,7 @@
|
|||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: '0:05:00'
|
for: '0:02:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.kitchen_motion_sensor
|
entity_id: binary_sensor.kitchen_motion_sensor
|
||||||
@ -120,7 +75,11 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
entity_id: binary_sensor.sink_motion_sensor_5473a923_ias_zone
|
||||||
state: 'off'
|
state: 'off'
|
||||||
for: '0:05:00'
|
for: '0:02:00'
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.kitchen_tabletop_motion_detection
|
||||||
|
state: 'off'
|
||||||
|
for: '0:02:00'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.kitchen_lights
|
entity_id: light.kitchen_lights
|
||||||
|
Loading…
Reference in New Issue
Block a user