Is there a way to pull data from a sensor?
I am working on a NodeMCU display to show the current value of a sensor in Home Assistant.
The sensor doesn’t change value often, and using the State-Change node works (an MQTT message is published when the sensor value changes), but it could be minutes between changes.
The Poll State node also works, but am I flooding my MQTT broker with data every 10 seconds?
The Trigger State node might work, but I can’t figure out how to trigger it to output the sensor value.
So, that’s my question- how do I trigger the Trigger State node to read the sensor?