Break lights into rooms via Groups

pull/76/head
CCOSTAN 9 years ago
parent 763fb923e1
commit e4d8d7f4dc

@ -1,35 +1,34 @@
#Todo List #Todo List
# Break out configuration files. HASS user. * AUTOMATE LAMP UPSTAIRS USING ifttt AND Nest thermostat.
* Put Dash Buttons out there.
# AUTOMATE LAMP UPSTAIRS USING ifttt AND Nest thermostat. * Put door sensor on garage door
# Put Dash Buttons out there.
# Put door sensor on garage door
### Future Ideas ### Future Ideas
# - alias: 'Get Random Time' - alias: 'Get Random Time'
# trigger: trigger:
# platform: time platform: time
# after: '21:00:00' after: '21:00:00'
# action: action:
# - service: input_slider.select_value - service: input_slider.select_value
# data_template: data_template:
# entity_id: input_slider.hour entity_id: input_slider.hour
# value: '{{ (range(22, 23) | random) }}' value: '{{ (range(22, 23) | random) }}'
# - service: input_slider.select_value - service: input_slider.select_value
# data_template: data_template:
# entity_id: input_slider.random_minute entity_id: input_slider.random_minute
# value: '{{ (range(30, 45) | random) }}' value: '{{ (range(30, 45) | random) }}'
# Then simply use that in your light turn off automation:
Then simply use that in your light turn off automation:
# - alias: 'Turn lights off' - alias: 'Turn lights off'
# trigger: trigger:
# platform: template platform: template
# value_template: '{{ now.hour == (states.input_slider.random_hour.state | int) and now.minute == (states.input_slider.random_minute.state | int) }}' value_template: '{{ now.hour == (states.input_slider.random_hour.state | int) and now.minute == (states.input_slider.random_minute.state | int) }}'
# action: action:
# - service: light.turn_off - service: light.turn_off
# data: data:
# entity_id: light.hue_color_lamp_1 entity_id: light.hue_color_lamp_1

@ -0,0 +1,33 @@
Bedroom:
entities:
- light.bedroom_stacey_light
Living Room:
entities:
- light.living_room_back_left
- light.living_room_back_right
- light.living_room_front_left
- light.living_room_front_right
- light.living_room_slider
Living Room Accents:
entities:
- light.living_room_couch_1
- light.living_room_couch_2
- light.couch_tv_light
Dinette:
entities:
- light.dinette_light_1
- light.dinette_light_2
Study:
entities:
- light.front_office_lamp
Office:
entities:
- light.office_lamp
Upstairs:
- light.upstairs_lamp
Loading…
Cancel
Save

Powered by TurnKey Linux.