SHARE
TWEET

Untitled

a guest Dec 8th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Bathroom
  2. - alias: "Activity: activity in bathroom"
  3.   trigger:
  4.     platform: state
  5.     entity_id: binary_sensor.presence_4
  6.     to: "on"
  7.   action:
  8.     service: input_boolean.turn_on
  9.     entity_id: input_boolean.activity_in_bathroom
  10.  
  11. - alias: "Activity: no activity in bathroom"
  12.   trigger:
  13.     platform: state
  14.     entity_id: binary_sensor.presence_4
  15.     to: "off"
  16.     for:
  17.       minutes: 5
  18.   condition:
  19.     condition: numeric_state
  20.     below: 90
  21.     entity_id: sensor.humidity_4
  22.   action:
  23.     service: input_boolean.turn_off
  24.     entity_id: light.activity_in_bathroom
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