Hi,
i’m working with Home Assisntant for quite a while now. I love it
Now i came into a situation where i was even unable to find anything usefull on the net.
I have the following scenario:
I created an mqtt sensor for a very basic mqtt message:
- platform: mqtt
state_topic: "my/topic"
name: "Time to event"
expire_after: 2400
The my/topic message will populate every 15 minutes and the payload is a plain string like “2 weeks” or “10 days”
The configuration itself works great. If the message gets send everything is displayed correctly. But after around 2 - 5 minutes the state of the sensor turns to empty. (not unavailable!)
What did i miss here? I have another mqtt sensor which sends floats only in the same way and this one is correct over the whole time.
Thanks for your help!
Tobias