ESPHome device stopped working with HA

I have a Wemos D1 connected to a rotary encoder that was working great (as a media controller) then suddenly stopped working. More precisely, the entities became unavailable. I deleted the device from the Esphome integration, re-added it and it was successfully added but now has zero entities.

I run Esphome on my laptop in a docker container, because my HA pi isn’t powerful enough for both. But HA always discovers new devices on my Lan and it just works. When I access the device’s logs, everything seems fine. It logs events when I rotate the encoder and press it. But HA isn’t seeing it.
[Edit: I was wondering if this was related: Esphome Error: Dashboard unvailable · Issue #103967 · home-assistant/core · GitHub]

Can you see it in Developers Tools/States?

No, there are no results when I filter on it. I have another similar device I’m developing, and I can see those entities.

Yaml? Logs?