17 lines
700 B
JSON
17 lines
700 B
JSON
[
|
|
{
|
|
"id": "Publish tank1_depth1 temperature on change",
|
|
"automation": "- alias: Publish tank1_depth1 temperature on change\n description: ''\n triggers:\n - entity_id: sensor.tank1_depth1_temperature\n trigger: state\n conditions: []\n actions:\n - data:\n topic: home/test\n payload: 'tank1_depth1: {{ states(''sensor.tank1_depth1_temperature'') }}°C\n\n '\n qos: 0\n action: mqtt.publish\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tank1 depth1 temperature",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.tank1_depth1_temperature",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |