Hi,
[problem solved by restart]
I created a helper as number template to set a value between 0 and 100. When the value is changed on the frontend it should send out a MQTT message as command to the target device.
I have it configured properly (I assume) and my other helpers as switches are working fine. But this one I am not getting up and run
Here’s the screenshot of the initial configuration page of the helper (sorry, I have no clue where to find the full yaml code):
And here’s the yaml code for the mqtt part:
action: mqtt.publish
metadata: {}
data:
topic: hzg/command
payload: >-
{ "name": "hzghaos", "unixtime": {{ as_timestamp(now()) | int(0) }},
"status": {"heizung": true, "manuallen": 65,"readcfg":false},
"relais":{"r_lhzr": {{ value | int(0) }} } }
So I expecxted it to run. I am using MQTT Explorer to monitor any messages being send there.
But no messages are being send.
I do not find any related entries in the protocols nor any warnings when verifying the yaml configuration. Restarted/ reloaded my HoAs several time, no change.
Other clients (like the command line client of the target.device) can easily communicate through this mqtt channel.
Any ideas how to troubleshoot?
/KNEBB