MQTT sensor doesn’t function as expected when using paho MQTT python library.
Although, messages from the python script do show using the mosquitto_sub command.
Sending a message from the python script doesn’t show in the home assistant sensor, but does show when subscribing using mosquitto_sub
Sending messages from the mosquitto_pub commands do show up in home assistant.
Thoughts please…