ESPHome sensor unavailable

I have an ESP8266 generic board connected to HA for over a year. The device shows up as online in ESPHome and the dallas sensor is properly reporting values. Home assistant shows it as unavailable.

I have uninstalled Esphome addon and re-installed. Deleted the .esphome folder but nothing is working.

In the core log:

 2022-03-13 19:27:28 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for 20-gal-tank @ 192.168.1.90: Error connecting to ('192.168.1.90', 6053): [Errno 113] Connect call failed ('192.168.1.90', 6053)
2022-03-13 19:28:51 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for 20-gal-tank @ 192.168.1.90: Error connecting to ('192.168.1.90', 6053): [Errno 113] Connect call failed ('192.168.1.90', 6053)

I see this in the “diagnostics file” which is not the correct IP address. Where is this address saved?

  },
  "data": {
    "config": {
      "entry_id": "b5e52ca779c960cd6a729603d7538a9a",
      "version": 1,
      "domain": "esphome",
      "title": "20_gal_tank",
      "data": {
        "host": "192.168.1.90",
        "port": 6053,
        "password": "**REDACTED**"

I’d suggest assigning the esp a fixed IP.

Just add the 4 lines of code to the esphome yaml.