I’m trying to work on some MQTT value templates and I’m getting annoyed having to constantly make edits to sensors.yaml, switch to HA and check configuration, jump to another screen to reload the entities, then Developer Tools > States, see what it looks like, then to log file for clues on what’s wrong.
There has to be a better way, it seems like Developer Tools > Template should work, but don’t see how to do MQTT stuff from here.
Maybe I need you to describe what you are doing a little clearer. I don’t see how I can adopt what you are doing. I looked at the Softblade web site for MQTT.fx and didn’t even see any screen shots to get an idea of what the product can do.
My data is already in MQTT topics. I’m in the process of trying to create a HA sensor that will fetch/parse that data as messages go by. I can’t use the Template in Dev tools until I have a working sensor.
It’s a very large and complicated JSON structure. I can see the messages in MQTT Explorer but its too large for its cut & paste, I only get a partial message out when I try it. I haven’t been able through trial and error to come up with the Jinja2 syntax that can reduce it down to something that fits in a sensor.