Sensor update esphome docker

Good morning, I just had esphome as a homeassistant addon and now I changed the installation to docker. Would there be any possibility of creating an update sensor in the esp yaml for when there is an update of an esp, to be able to update it from homeassistant as I did before when I had a supervisor? thank you!