I have a perplexing issue - one of my devices (a Sonoff TH10) shows as offline in ESPHome console yet it is online - I can ping it, the sensors are reporting status to HASS and the ‘Show logs’ function works.
Somehow it is getting confused and showing offline
Thanks @skutter - I looked at that page but somehow missed that section - it has sorted the problem.
To save anyone else with the same issue having to search for it, the fix was adding "status_use_ping": true into the esphome config file. After a restart it worked.