Fixes moldindicator sensor after switch to asyncio (#5038)

This commit is contained in:
Felix 2016-12-30 11:16:34 +01:00 committed by Paulus Schoutsen
parent 9e66755baf
commit d04ee66669

View File

@ -163,7 +163,7 @@ class MoldIndicator(Entity):
self._indoor_hum = MoldIndicator._update_hum_sensor(new_state)
self.update()
self.update_ha_state()
self.schedule_update_ha_state()
def _calc_dewpoint(self):
"""Calculate the dewpoint for the indoor air."""