Hi, everyone
I have a Shelly H&T WiFi sensor in my setup that I want to use as the Temperature sensor for a Generic Thermostat configuration.
I’ve set everything up correctly, but have come across one issue: because the sensor is battery-operated and in sleep mode most of the time (only waking up when the measurement delta is relevant), when I restart HASS usually the entity comes up as “unavailable”. It comes back after a while (because it will start connecting to the network to update values), so the sensor itself is working correctly.
The issue apparently comes from the Generic Thermostat trying to access an unavailable sensor: not only won’t it work while the sensor doesn’t come back “online”, but it even locks up the “heater” switch that is part of the same setup.
I’ve asked the Shelly integration author to look into this, but is there any way I can work around the problem?
I’m thinking if setting up a Template Sensor that somehow gets its value from the H&T’s last available Temp value - and using that Template Sensor as the Generic Thermostat input - wouldn’t work…?
'Appreciate your input.
Cheers