mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-07-26 19:47:19 +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
|
- service: cover.open_cover
|
||||||
entity_id: cover.cargo_bay
|
entity_id: cover.cargo_bay
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sunset_garage_open:
|
sunset_garage_open:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.ecolink_garage_door_tilt_sensor_sensor
|
entity_id: group.garage_doors
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- service: script.driveway_all_on
|
- service: script.driveway_all_on
|
||||||
|
|
||||||
@ -47,6 +45,7 @@ inside_all_on:
|
|||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: scene.livingroom_normal
|
entity_id: scene.livingroom_normal
|
||||||
|
|
||||||
inside_all_off:
|
inside_all_off:
|
||||||
sequence:
|
sequence:
|
||||||
- data:
|
- data:
|
||||||
@ -70,14 +69,17 @@ inside_all_off:
|
|||||||
service: switch.turn_off
|
service: switch.turn_off
|
||||||
- entity_id: light.jeff_lamp
|
- entity_id: light.jeff_lamp
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
|
|
||||||
all_fans_off:
|
all_fans_off:
|
||||||
sequence:
|
sequence:
|
||||||
- data:
|
- service: group.turn_off
|
||||||
entity_id: switch.upstairs_fan
|
entity_id: group.all_fans
|
||||||
service: switch.turn_off
|
|
||||||
- data:
|
all_fans_on:
|
||||||
entity_id: switch.living_room_fan
|
sequence:
|
||||||
service: switch.turn_off
|
- service: group.turn_on
|
||||||
|
entity_id: group.all_fans
|
||||||
|
|
||||||
family_is_home:
|
family_is_home:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
@ -98,6 +100,7 @@ family_is_away:
|
|||||||
topic: house/family/status
|
topic: house/family/status
|
||||||
payload_template: Away
|
payload_template: Away
|
||||||
retain: true
|
retain: true
|
||||||
|
|
||||||
driveway_on:
|
driveway_on:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
@ -109,6 +112,7 @@ driveway_on:
|
|||||||
- data:
|
- data:
|
||||||
entity_id: light.side_door_light
|
entity_id: light.side_door_light
|
||||||
service: light.turn_on
|
service: light.turn_on
|
||||||
|
|
||||||
driveway_off:
|
driveway_off:
|
||||||
sequence:
|
sequence:
|
||||||
- delay:
|
- delay:
|
||||||
@ -123,26 +127,26 @@ driveway_off:
|
|||||||
entity_id: switch.driveway_light
|
entity_id: switch.driveway_light
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.side_door_light
|
entity_id: light.side_door_light
|
||||||
|
|
||||||
chromecast_media_stop:
|
chromecast_media_stop:
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.media_stop
|
- service: media_player.media_stop
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.theater
|
entity_id: media_player.theater
|
||||||
|
|
||||||
appliances_on:
|
appliances_on:
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: switch.box_fans
|
entity_id: switch.box_fans
|
||||||
|
|
||||||
appliances_off:
|
appliances_off:
|
||||||
sequence:
|
sequence:
|
||||||
- data:
|
- data:
|
||||||
entity_id: switch.box_fans
|
entity_id: switch.incense
|
||||||
service: switch.turn_off
|
service: switch.turn_off
|
||||||
- data:
|
- data:
|
||||||
entity_id: switch.incense_3
|
entity_id: switch.artemis
|
||||||
service: switch.turn_off
|
|
||||||
- data:
|
|
||||||
entity_id: switch.artemis_2
|
|
||||||
service: switch.turn_off
|
service: switch.turn_off
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user