🚚 switch to uuids and services for automations
This commit is contained in:
parent
2d17695583
commit
e1cf2b1117
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ image
|
||||
*.pem
|
||||
|
||||
/custom_components/hacs
|
||||
/custom_components/dyson_local
|
@ -1,6 +1,7 @@
|
||||
- id: "1676005859456"
|
||||
alias: Bedroom TV Time
|
||||
description: ""
|
||||
- alias: Bedroom TV Time
|
||||
description: "Put the purifier in night mode when the TV starts playing"
|
||||
id: "331f421c-c0b6-41cf-98ce-2ab0126a335a"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
@ -12,11 +13,11 @@
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.purifier_humidify_cool_formaldehyde_night_mode
|
||||
mode: single
|
||||
|
||||
- id: "1676006403295"
|
||||
alias: Bedroom TV Time Over
|
||||
- alias: Bedroom TV Time Over
|
||||
description: ""
|
||||
id: "826af719-2a40-431f-8f02-4fa935369c3e"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
@ -28,4 +29,3 @@
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.purifier_humidify_cool_formaldehyde_night_mode
|
||||
mode: single
|
||||
|
@ -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
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
|
||||
- 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'
|
||||
at: "22:00:00"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
mode: single
|
||||
|
@ -1,27 +1,27 @@
|
||||
|
||||
- id: '1634154676822'
|
||||
alias: Turn on front porch light
|
||||
description: ''
|
||||
- alias: Turn on front porch light
|
||||
description: ""
|
||||
id: "9f78242d-f30f-4c30-bd37-65b4b62b95fe"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: sun
|
||||
event: sunset
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: 749027ddc2ff3cc59e22c2557329ec0a
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.front_porch
|
||||
domain: switch
|
||||
|
||||
- alias: Turn off front porch light
|
||||
description: ""
|
||||
id: "6b9e714f-0e71-481d-8506-c1bf4a0c7c00"
|
||||
mode: single
|
||||
- id: '1639358610226'
|
||||
alias: Turn off front porch light
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '23:30:00'
|
||||
at: "23:30:00"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 749027ddc2ff3cc59e22c2557329ec0a
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.front_porch
|
||||
domain: switch
|
||||
mode: single
|
||||
|
@ -1,28 +1,29 @@
|
||||
- id: '1625281735631'
|
||||
alias: Keep office cool
|
||||
description: ''
|
||||
- alias: Keep office cool
|
||||
description: ""
|
||||
id: "7b7450b6-0811-4c44-9581-0461adcf912e"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.home_office_temperature
|
||||
above: '24'
|
||||
above: "24"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: 0739a7e7036ad9758825b93a524e1f00
|
||||
- service: switch.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.air_conditioner
|
||||
domain: switch
|
||||
|
||||
- alias: Turn off office AC
|
||||
description: ""
|
||||
id: "380dc2cc-c43b-4c69-bc36-6923b956f8be"
|
||||
mode: single
|
||||
- id: '1625503795025'
|
||||
alias: Turn off office AC
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.home_office_temperature
|
||||
below: '22'
|
||||
below: "22"
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 0739a7e7036ad9758825b93a524e1f00
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.air_conditioner
|
||||
domain: switch
|
||||
mode: single
|
Loading…
x
Reference in New Issue
Block a user