MQTT_topic_root
Some checks are pending
docker / docker_dev (push) Waiting to run

This commit is contained in:
jokob-sk
2024-10-02 16:10:19 +10:00
parent d44744657e
commit 14996d6582
2 changed files with 34 additions and 9 deletions

View File

@@ -656,7 +656,7 @@
"description": [
{
"language_code": "en_us",
"string": "The root path of the stats overview sensor. Inserted into the <code>system-sensors/sensor/{DEVICE_ID}/state</code> topic."
"string": "The root path of the stats overview sensor. Inserted into the <code>{MQTT_topic_root}/sensor/{MQTT_DEVICE_ID}/state</code> topic."
}
]
},
@@ -712,6 +712,30 @@
}
]
},
{
"function": "topic_root",
"type": {
"dataType": "string",
"elements": [
{ "elementType": "input", "elementOptions": [], "transformers": [] }
]
},
"default_value": "system-sensors",
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "MQTT topic root"
}
],
"description": [
{
"language_code": "en_us",
"string": "The topic root of the devices sensors. Inserted into the <code>{MQTT_topic_root}/sensor/{DEVICE_ID}/state</code> topic."
}
]
},
{
"function": "DEVICES_SQL",
"type": {