🚚 switch to uuids and services for automations
This commit is contained in:
@ -1,26 +1,27 @@
|
||||
- id: '1631582483969'
|
||||
alias: Turn on light rack
|
||||
description: ''
|
||||
- alias: Turn on light rack
|
||||
description: ""
|
||||
id: "24dcac6e-5577-44a8-b3ea-9249a299c3f6"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 08:00:00
|
||||
- platform: time
|
||||
at: 08:00:00
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.light_rack
|
||||
|
||||
- alias: Turn off light rack
|
||||
description: ""
|
||||
id: "3939a056-c910-4b46-8437-06335b355350"
|
||||
mode: single
|
||||
- id: '1631583563463'
|
||||
alias: Turn off light rack
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '22:00:00'
|
||||
- platform: time
|
||||
at: "22:00:00"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
mode: single
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.light_rack
|
||||
|
@ -1,27 +1,27 @@
|
||||
- alias: Turn on front porch light
|
||||
description: ""
|
||||
id: "9f78242d-f30f-4c30-bd37-65b4b62b95fe"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
condition: []
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.front_porch
|
||||
|
||||
- id: '1634154676822'
|
||||
alias: Turn on front porch light
|
||||
description: ''
|
||||
- alias: Turn off front porch light
|
||||
description: ""
|
||||
id: "6b9e714f-0e71-481d-8506-c1bf4a0c7c00"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
- platform: time
|
||||
at: "23:30:00"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: 749027ddc2ff3cc59e22c2557329ec0a
|
||||
entity_id: switch.front_porch
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1639358610226'
|
||||
alias: Turn off front porch light
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '23:30:00'
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 749027ddc2ff3cc59e22c2557329ec0a
|
||||
entity_id: switch.front_porch
|
||||
domain: switch
|
||||
mode: single
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.front_porch
|
||||
|
Reference in New Issue
Block a user