minor updates to some light settings for upstairs

This commit is contained in:
ccostan
2020-08-20 15:30:18 -04:00
parent e903e2f778
commit c0734c5b85
5 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Lighitng based on Nest Away status
#-------------------------------------------
# Nest ThermoStat https://amzn.to/2eAhB1k
# Uses the Nest thermostat to turn on lights and turn them off upstairs.
- alias: 'Upstairs Light Turn on'
@@ -29,6 +35,11 @@
entity_id: binary_sensor.upstairs_nest_away
to: 'on'
- platform: state
entity_id: light.upstairs_lights
to: 'on'
for: '02:00:00'
action:
service: light.turn_off
entity_id: light.upstairs_lights