mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 19:06:53 +00:00
Logging stuff and using IFTTT
This commit is contained in:
18
Todo.md
18
Todo.md
@@ -1,6 +1,6 @@
|
|||||||
#Todo List
|
#Todo List
|
||||||
|
|
||||||
* AUTOMATE LAMP UPSTAIRS USING ifttt AND Nest thermostat.
|
* AUTOMATE LAMP UPSTAIRS using Nest thermostat.
|
||||||
* Put Dash Buttons out there.
|
* Put Dash Buttons out there.
|
||||||
* Put door sensor on garage door
|
* Put door sensor on garage door
|
||||||
|
|
||||||
@@ -32,3 +32,19 @@ Then simply use that in your light turn off automation:
|
|||||||
data:
|
data:
|
||||||
entity_id: light.hue_color_lamp_1
|
entity_id: light.hue_color_lamp_1
|
||||||
|
|
||||||
|
|
||||||
|
- 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`
|
@@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
- alias: 'GoodNight - Away Mode'
|
- alias: 'GoodNight - Away Mode'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: 'not_home'
|
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: good_night
|
event_type: good_night
|
||||||
|
|
||||||
|
15
automation/upstairs_motion_ifttt.yaml
Executable file
15
automation/upstairs_motion_ifttt.yaml
Executable file
@@ -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
|
@@ -14,3 +14,13 @@
|
|||||||
# - pressure
|
# - pressure
|
||||||
# - visibility
|
# - visibility
|
||||||
# - ozone
|
# - ozone
|
||||||
|
|
||||||
|
- platform: nest
|
||||||
|
monitored_conditions:
|
||||||
|
- 'temperature'
|
||||||
|
- 'target'
|
||||||
|
- 'humidity'
|
||||||
|
- 'operation_mode'
|
||||||
|
- 'last_connection'
|
||||||
|
- 'co_status'
|
||||||
|
- 'smoke_status'
|
Reference in New Issue
Block a user