Esphome shows unavailable but Online in ESPHome GUI

Only a few weeks into Home Assistant. I have two identical Esphome Garage Door openers that have been working flawless for a couple of weeks. One no longer works. It shows Online in the GUI but unavailable in Developer Tools States. When I compare the logs from the Show Log on the GUI they look the same except when I trigger the working one it shows (in blue). My Signal strength: -79 dB is a little worse on the one that is not working.
I am using DHCP Reservation and both have the correct reserved IP addresses. I am using HiLetgo ESP8266 NodeMCU LUA CP2102 ESP-12E. I believe I picked NodeMCU as the Device Type. In the yaml file it shows board: nodemcuv2.

How to Fix

  1. Delete the old ESPhome integration in home-assistant
  2. Readd the ESPhome integration using <devicename>.local or a static ip (see esphome docs for this)
  3. Restart home-assistant
  4. Make sure the entity_ids match or adjust them in the integration config in home-assistant

I don’t understand step 2 here. Does anyone have insight into what it means to “read the esphome integration using .local?” I don’t see anything like this in the ESPHome docs.

Any assistance is greatly appreciated.

Which of these is the entity ID?

INFO Reading configuration /config/esphome/gas_woodstove.yaml...
INFO Starting log output from gas_woodstove.local using esphome API
INFO Connecting to gas_woodstove.local:6053 (192.168.1.6)
INFO Successfully connected to gas_woodstove.local
[18:50:35][I][app:100]: ESPHome version 1.14.4 compiled on Sep  5 2020, 13:27:58
[18:50:35][C][status_led:019]: Status LED:
[18:50:35][C][status_led:020]:   Pin: GPIO13 (Mode: OUTPUT, INVERTED)
[18:50:35][C][wifi:415]: WiFi:
[18:50:35][C][wifi:283]:   SSID: 

[redacted]
[18:50:35][C][wifi:284]:   IP Address: 192.168.1.6
[18:50:35][C][wifi:286]:   BSSID: 

[redacted]
[18:50:35][C][wifi:287]:   Hostname: 'gas_woodstove'
[18:50:35][C][wifi:291]:   Signal strength: -60 dB ▂▄▆█
[18:50:35][C][wifi:295]:   Channel: 6
[18:50:35][C][wifi:296]:   Subnet: 255.255.255.0
[18:50:35][C][wifi:297]:   Gateway: 192.168.1.1
[18:50:35][C][wifi:298]:   DNS1: 192.168.1.1
[18:50:35][C][wifi:299]:   DNS2: (IP unset)
[18:50:35][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Gas Stove Button'
[18:50:35][C][gpio.binary_sensor:016]:   Pin: GPIO0 (Mode: INPUT_PULLUP, INVERTED)
[18:50:35][C][switch.gpio:042]: GPIO Switch 'Gas Stove'
[18:50:35][C][switch.gpio:043]:   Pin: GPIO12 (Mode: OUTPUT)
[18:50:35][C][switch.gpio:059]:   Restore Mode: Restore (Defaults to OFF)
[18:50:35][C][logger:175]: Logger:
[18:50:35][C][logger:176]:   Level: DEBUG
[18:50:35][C][logger:177]:   Log Baud Rate: 115200
[18:50:35][C][logger:178]:   Hardware UART: UART0
[18:50:35][C][captive_portal:169]: Captive Portal:
[18:50:35][C][ota:029]: Over-The-Air Updates:
[18:50:35][C][ota:030]:   Address: gas_woodstove.local:8266
[18:50:35][C][api:095]: API Server:
[18:50:35][C][api:096]:   Address: gas_woodstove.local:6053

Hi @Merlin I did not see this message until now. You should have tagged me or use reply.
You probably fixed this or abandoned it, however for other people:
Step 2 was rewritten into: Readd the ESPhome integration using .local or a static ip (see esphome docs for this)
Step 2 breaks down to:

  • You should check what the device name is in ESPhome, in your case “gas_woodstove”.
  • Go to: Home Assistant configuration - Devices & Services - hit button “+ ADD INTEGRATION”
  • Search and select ESPHome
  • under Host fill in “.local” in your case “gas_woodstove.local”

Although this does not happen anymore to me with current versions, so might be fixed somewhere…

One online only a few left to go.

All of these are actually online but for quite a few updates now they never show online.

bvansambeek Bouwy s how to fix seems to work but why is this needed?

Might be related to the advise not to use underscores.

I’m having this same problem with a device, “unavailable” in HA but online in EspHome.

It’s not the first time and I always menage to re-add them back. But now with the new Home Assistant update, which reorganise the “Devices & Services” window I’m not able to remove the old ESPHome integration because the device appears under the window “Devices” but not in the list of the EspHome devices which actually allows to manage the devices.


I’ve tried to add the integration as @bvansambeek suggests but it says “device already configured”.

The funny thing is that the temperature sensor is still working properly and sending regularly the data.

Any suggestion on what to do?