mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-07-22 20:02:55 +00:00
Added script for toggling fans
This commit is contained in:
parent
477b8eee57
commit
5ed2c21862
@ -15,12 +15,10 @@ open_garage:
|
||||
- service: cover.open_cover
|
||||
entity_id: cover.cargo_bay
|
||||
|
||||
|
||||
|
||||
sunset_garage_open:
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.ecolink_garage_door_tilt_sensor_sensor
|
||||
entity_id: group.garage_doors
|
||||
state: 'on'
|
||||
- service: script.driveway_all_on
|
||||
|
||||
@ -47,6 +45,7 @@ inside_all_on:
|
||||
- service: scene.turn_on
|
||||
data:
|
||||
entity_id: scene.livingroom_normal
|
||||
|
||||
inside_all_off:
|
||||
sequence:
|
||||
- data:
|
||||
@ -70,14 +69,17 @@ inside_all_off:
|
||||
service: switch.turn_off
|
||||
- entity_id: light.jeff_lamp
|
||||
service: light.turn_off
|
||||
|
||||
all_fans_off:
|
||||
sequence:
|
||||
- data:
|
||||
entity_id: switch.upstairs_fan
|
||||
service: switch.turn_off
|
||||
- data:
|
||||
entity_id: switch.living_room_fan
|
||||
service: switch.turn_off
|
||||
- service: group.turn_off
|
||||
entity_id: group.all_fans
|
||||
|
||||
all_fans_on:
|
||||
sequence:
|
||||
- service: group.turn_on
|
||||
entity_id: group.all_fans
|
||||
|
||||
family_is_home:
|
||||
sequence:
|
||||
- condition: state
|
||||
@ -98,6 +100,7 @@ family_is_away:
|
||||
topic: house/family/status
|
||||
payload_template: Away
|
||||
retain: true
|
||||
|
||||
driveway_on:
|
||||
sequence:
|
||||
- condition: state
|
||||
@ -109,6 +112,7 @@ driveway_on:
|
||||
- data:
|
||||
entity_id: light.side_door_light
|
||||
service: light.turn_on
|
||||
|
||||
driveway_off:
|
||||
sequence:
|
||||
- delay:
|
||||
@ -123,26 +127,26 @@ driveway_off:
|
||||
entity_id: switch.driveway_light
|
||||
- service: light.turn_off
|
||||
entity_id: light.side_door_light
|
||||
|
||||
chromecast_media_stop:
|
||||
sequence:
|
||||
- service: media_player.media_stop
|
||||
data:
|
||||
entity_id: media_player.theater
|
||||
|
||||
appliances_on:
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.box_fans
|
||||
|
||||
appliances_off:
|
||||
sequence:
|
||||
- data:
|
||||
entity_id: switch.box_fans
|
||||
entity_id: switch.incense
|
||||
service: switch.turn_off
|
||||
- data:
|
||||
entity_id: switch.incense_3
|
||||
service: switch.turn_off
|
||||
- data:
|
||||
entity_id: switch.artemis_2
|
||||
entity_id: switch.artemis
|
||||
service: switch.turn_off
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user