This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
light: | |
- platform: demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add to automations.yaml | |
- id: water_leak_sensor | |
alias: Water Leak Sensor | |
initial_state: 'on' | |
trigger: | |
platform: state | |
entity_id: binary_sensor.water_leak_sensor_158d0001bb656c | |
from: 'off' | |
to: 'on' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
## Double Key Wireless Switch Automations, Scripts, and Bedtime Script Setup | |
################################################################################ | |
#Put this in configuration.yaml | |
input_number: | |
bedtime_trigger: | |
name: Bedtime Trigger | |
min: 0 | |
max: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add to configuration.yaml | |
history_graph: | |
temp_compare: | |
name: Temp Comparison | |
entities: | |
- sensor.living_room_temperature | |
- sensor.temperature_158d0001fa88a5 | |
- sensor.temperature_158d0001f520bf | |
refresh: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In the configuration.yaml file, use the input_select component | |
input_select: | |
front_door_alarm: | |
name: Front Door Alarm | |
options: | |
- "Unarmed" | |
- "Armed: Silent" | |
- "Armed" | |
- "Armed: Alarm and Notification" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Both of these are scripts and go in scripts.yaml | |
leave: | |
alias: Leave | |
sequence: | |
- service: homeassistant.turn_off | |
entity_id: | |
- switch.tv | |
- switch.air_conditioner | |
- wait_template: "{{is_state('binary_sensor.door_window_sensor_158d0001ab56bd', 'on')}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put in automations.yaml | |
- id: door_close_fan_off | |
alias: Door Close Fan Off | |
initial_state: 'on' | |
trigger: | |
platform: state | |
entity_id: binary_sensor.door_window_sensor_158d0001ab56bd | |
from: 'on' | |
to: 'off' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put in automations.yaml | |
- id: morning_begins | |
alias: Morning Begins | |
initial_state: 'on' | |
trigger: | |
platform: time | |
at: "5:00:00" | |
action: | |
- service: automation.turn_off |
NewerOlder