daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Mar 21st, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - alias: Light on, kitchen night light
  2.   id: 'kitchen_nightlight_on'
  3.   hide_entity: True
  4.   initial_state: 'on'
  5.   trigger:
  6.     platform: state
  7.     entity_id: binary_sensor.motion_kitchen
  8.     from: 'off'
  9.     to: 'on'
  10.   condition:
  11.     condition: and
  12.     conditions:
  13.     - condition: time
  14.       after: "23:00:00"
  15.     - condition: sun
  16.       before: sunrise
  17.       before_offset: "01:00:00"
  18.     - condition: state
  19.       entity_id: light.kitchen
  20.       state: 'off'
  21.     - condition: or
  22.       conditions:
  23.       - condition: state
  24.         entity_id: binary_sensor.bora_bayesian
  25.         state: 'on'
  26.       - condition: state
  27.         entity_id: binary_sensor.graham_bayesian
  28.         state: 'on'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top