From 864b57d42c4a9bc490dbe0dd6cc738929d38cd6b Mon Sep 17 00:00:00 2001 From: Wolfgang Malgadey Date: Sun, 2 Apr 2017 18:47:15 +0200 Subject: [PATCH] Fix Tado climate set off mode (#6848) --- homeassistant/components/tado.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/tado.py b/homeassistant/components/tado.py index ffb4da61fed..b7758c95c0e 100644 --- a/homeassistant/components/tado.py +++ b/homeassistant/components/tado.py @@ -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)