Advertisement
Guest User

Input_select and groups

a guest
Sep 23rd, 2020
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.25 KB | None | 0 0
  1. ################
  2. ##Input_select##
  3. ################
  4.  
  5. house_presence:
  6.   name: House presence
  7.   initial: Unknown #Default until actual state is known after restart
  8.   options:
  9.    - Unknown
  10.     - Empty
  11.     - Someone
  12.     - Guests
  13.     - Extended Away
  14.     - Glenn
  15.     # - P2
  16.     # - P1 + P2
  17.  
  18. bedroom_presence:
  19.   name: Bedroom presence
  20.   initial: Unknown #Default until actual state is known after restart
  21.   options:
  22.    - Unknown
  23.     - Empty
  24.     - Someone
  25.     - Guests
  26.     - Glenn
  27.     # - P2
  28.     # - P1 + P2
  29.     - Extended Away
  30.     # - Going to Sleep
  31.     # - Sleeping
  32.     # - Waking Up
  33.     # - Woken Up
  34.  
  35. glenn_location:
  36.   name: Glenn location
  37.   initial: Unknown #Default until actual state is known after restart
  38.   options:
  39.    - Unknown
  40.     - Just Arrived
  41.     - Home
  42.     - Just Left
  43.     - Away
  44.     - Extended Away
  45.     # - Living Room
  46.     - Bedroom
  47.     # - Bathroom
  48.     # - Kitchen #Extra rooms can be added below
  49.  
  50.  
  51. ##########
  52. ##Groups##
  53. ##########
  54.  
  55. person_locations:
  56.   name: Person locations
  57.   entities:
  58.    - input_select.glenn_location
  59.     # - input_select.p2_location #Add more defined input_selects below
  60.  
  61. person_home_away:
  62.   name: Person locations
  63.   entities:
  64.    - person.glenn
  65.     # - person.p2 #Add more people below
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement