@callback
def _instance_updated(self, new_status):
    'Call when the instance status changes.\n\n        Should not be overridden by subclasses.\n        '
    self.on_value_update()
    self.async_write_ha_state()
Call when the instance status changes.

Should not be overridden by subclasses.
@callback
def _instance_updated(self, new_status):
    'Call when the instance status changes.\n\n        Should not be overridden by subclasses.\n        '
    self.on_value_update()
    self.async_write_ha_state()