What I am trying to achieve is to refresh a sensor when HA has updated core, supervisor, an addon or a HACS component. How do I do this?
I would think using an automation which is triggered when an specific event or service is done with the update. Or trigger the automation wait for some minutes and then refresh my sensor?
trigger: ???
action:
service: homeassistant.update_entity
target:
entity_id: my.sensor
Could someone enlighten me?