New to ESPHome, need a little help

Hi all,

I’ve just started using ESPHome on some ESP8266 & DHT22 boards for environment monitoring/control. Took a little while to figure it out but its running on three devices now and seems ok.

I’m using Temp, Humidity and WiFi signal entities.

I have switched these from MQTT but need a little help figuring out how to detect in NodeRed if a device has stopped working and/or dropped off the wifi - it’s used as a thermostat in a garden room and i have NodeRed turn the heater off if the device stops responding and the heater was on.

Previously I used a watchdog timer on the MQTT response which timed out if the monitor failed to respond, it worked well.

Any help appreciated

Found it ( I think)

it seems HA marks the entity as “unavailable” on each of the temp/humid/wifi options.

Hopefully that will be ok if i check it in NodeRed using state-change.