Had to go back to smartthings for devices after HASSOS 4.8 upgrade

This commit is contained in:
Jeffrey Stone
2020-06-07 15:30:34 -04:00
parent 4ac0dce6f5
commit b78465bffa
11 changed files with 389 additions and 360 deletions

View File

@@ -29,7 +29,7 @@ turn_on_ha_speaker:
state: 'off'
- service: input_boolean.turn_on
entity_id: input_boolean.audible_notifications
inside_all_on:
sequence:
@@ -40,7 +40,7 @@ inside_all_on:
- service: switch.turn_on
entity_id: switch.fireplace_lights
- service: switch.turn_on
entity_id: switch.upstairs
entity_id: switch.croft_light
- service: switch.turn_on
entity_id: switch.rail_lights
- service: scene.turn_on
@@ -141,10 +141,10 @@ driveway_off:
- delay:
seconds: 120
- condition: state
entity_id: binary_sensor.side_door
entity_id: binary_sensor.side_door_contact
state: 'off'
- condition: state
entity_id: binary_sensor.garage_door
entity_id: binary_sensor.garage_door_contact
state: 'off'
- service: switch.turn_off
entity_id: switch.driveway_light

View File

@@ -5,29 +5,6 @@
#########################################
##########################
# Dim Living Room lights slowly - Sengled Bulbs - No Built in Transistion.
# Script can take a delay, if no delay is passed delay is set to 5
# delay should be in seconds
# Script takes the following
# entity_id = The light you want to fade in
# transition: = # Seconds to go from current to end brightness
# brightness_pct: = # Brightness to end at as a percentage
lr_sengled_transistion_on:
sequence:
- service: python_script.light_transistion
data:
entity_id: light.tower_lamp_2
brightness_pct: 100
transition: 60
lr_sengled_transistion_off:
sequence:
- service: python_script.light_transistion
data:
entity_id: light.tower_lamp_2
brightness_pct: 0
transition: 60
# Turn on Living Room Lights if sun is down or cloud coverage is above 70%
livingroom_lamps_on:
@@ -57,9 +34,9 @@ good_night_loft:
entity_id: media_player.pn60e550_pn60e550
state: "off"
- service: switch.turn_off
entity_id: switch.upstairs_fan
entity_id: switch.croft_fan
- service: switch.turn_off
entity_id: switch.upstairs
entity_id: switch.croft_light
kitchen_lights_on:
sequence: