AutomationDataset/muckelba/description-ready.json

26 lines
1.0 KiB
JSON

[
{
"id": "Spotify Lights",
"automation": "- alias: Spotify Lights\n description: ''\n mode: single\n triggers:\n - allowed_methods:\n - POST\n local_only: true\n webhook_id: REPLACEME\n trigger: webhook\n conditions:\n - condition: or\n conditions:\n - condition: sun\n before: sunrise\n - condition: sun\n after: sunset\n after_offset: -02:00:00\n actions:\n - metadata: {}\n target:\n entity_id:\n - light.light_1\n - light.ceiling_lights\n data:\n transition: 1\n rgb_color: '{{trigger.json.rgb}}'\n enabled: true\n action: light.turn_on",
"config": [
{
"name": "light 1",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.light_1",
"device_id": null
}
},
{
"name": "ceiling lights",
"room": "living room",
"type": "light",
"id": {
"entity_id": "light.ceiling_lights",
"device_id": null
}
}
]
}
]