26 lines
842 B
JSON
26 lines
842 B
JSON
[
|
|
{
|
|
"id": "EUR rate change with new value",
|
|
"automation": "- alias: EUR rate change with new value\n description: Notifies when the EUR rate changes, showing the new value\n triggers:\n - entity_id: sensor.bnr_rate_eur\n trigger: state\n actions:\n - data:\n message: 'New EUR rate: {{ states(''sensor.bnr_rate_eur'') }}'\n title: EUR rate changed!\n action: notify.mobile_app\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bnr rate eur",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.bnr_rate_eur",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mobile app",
|
|
"room": null,
|
|
"type": "notify",
|
|
"id": {
|
|
"entity_id": "notify.mobile_app",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |