@callback
def update_callback(self, no_delay=None):
    'Update the entities state.'
    self.async_write_ha_state()
Update the entities state.
@callback
def update_callback(self, no_delay=None):
    
    self.async_write_ha_state()