'Handle sensor state changes.'

def _sensor_changed(self, entity_id, old_state, new_state):

    if (new_state is None):
        return
    if (entity_id == self._indoor_temp_sensor):
        self._indoor_temp = MoldIndicator._update_temp_sensor(new_state)
    elif (entity_id == self._outdoor_temp_sensor):
        self._outdoor_temp = MoldIndicator._update_temp_sensor(new_state)
    elif (entity_id == self._indoor_humidity_sensor):
        self._indoor_hum = MoldIndicator._update_hum_sensor(new_state)
    self.update()
    self.schedule_update_ha_state()
