diff --git a/Todo.md b/Todo.md index a379f4ec..a8546f27 100755 --- a/Todo.md +++ b/Todo.md @@ -1,6 +1,6 @@ #Todo List -* AUTOMATE LAMP UPSTAIRS USING ifttt AND Nest thermostat. +* AUTOMATE LAMP UPSTAIRS using Nest thermostat. * Put Dash Buttons out there. * Put door sensor on garage door @@ -31,4 +31,20 @@ Then simply use that in your light turn off automation: - service: light.turn_off data: entity_id: light.hue_color_lamp_1 - \ No newline at end of file + + +- automation: + alias: Random GLeft + initial_state: False + hide_entity: False +trigger: + platform: time + seconds: '/5' +action: + service: homeassistant.turn_on + entity_id: + - light.gright + data: + effect: random + transition: 1 + brightness: 255` \ No newline at end of file diff --git a/automation/good_night.yaml b/automation/good_night.yaml index f4f4db23..26877497 100755 --- a/automation/good_night.yaml +++ b/automation/good_night.yaml @@ -2,9 +2,6 @@ - alias: 'GoodNight - Away Mode' trigger: - - platform: state - entity_id: group.family - state: 'not_home' - platform: event event_type: good_night diff --git a/automation/upstairs_motion_ifttt.yaml b/automation/upstairs_motion_ifttt.yaml new file mode 100755 index 00000000..8172af07 --- /dev/null +++ b/automation/upstairs_motion_ifttt.yaml @@ -0,0 +1,15 @@ +# Uses the Nest thermostat to turn on lights and turn them off. + +- alias: 'Upstairs Light Turn' + trigger: + - platform: event + event_type: upstairs_light_on + + condition: + condition: state + - platform: sun + event: sunset + + action: + service: light.turn_on + entity_id: group.upstairs diff --git a/sensor/weather.yaml b/sensor/weather.yaml index 061a9c1c..f9da6620 100755 --- a/sensor/weather.yaml +++ b/sensor/weather.yaml @@ -13,4 +13,14 @@ - humidity # - pressure # - visibility -# - ozone \ No newline at end of file +# - ozone + +- platform: nest + monitored_conditions: + - 'temperature' + - 'target' + - 'humidity' + - 'operation_mode' + - 'last_connection' + - 'co_status' + - 'smoke_status' \ No newline at end of file