SHARE
TWEET

אפשרות 2

a guest Jan 21st, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   - platform: template
  2.     sensors:
  3.       in_bed_for_sleep:
  4.         friendly_name: "Is in bed for sleep"
  5.         entity_id: sensor.persons_in_bed
  6.         delay_on:
  7.           seconds: 30
  8.         delay_off:
  9.           seconds: 30                
  10.         value_template: >-
  11.           {{ states('sensor.persons_in_bed')|int > 1 }}
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