Fix Tado climate set off mode (#6848)

pull/6904/head
Wolfgang Malgadey 2017-04-02 18:47:15 +02:00 committed by Adam Mills
parent 8806265e99
commit 864b57d42c
1 changed files with 2 additions and 2 deletions

View File

@ -122,6 +122,6 @@ class TadoDataStore:
"""Wrapper for resetZoneOverlay(..)."""
return self.tado.resetZoneOverlay(zone_id)
def set_zone_overlay(self, zone_id, mode, temperature):
def set_zone_overlay(self, zone_id, mode, temperature=None, duration=None):
"""Wrapper for setZoneOverlay(..)."""
return self.tado.setZoneOverlay(zone_id, mode, temperature)
return self.tado.setZoneOverlay(zone_id, mode, temperature, duration)