fixed patio
This commit is contained in:
@@ -24,4 +24,4 @@ class Patio(Hass):
|
|||||||
|
|
||||||
def handle_door_close(self, entity: str, attribute: str, old: str, new: str, **kwargs):
|
def handle_door_close(self, entity: str, attribute: str, old: str, new: str, **kwargs):
|
||||||
self.log('Door close')
|
self.log('Door close')
|
||||||
self.run_in(callback=lambda *args: self.light.turn_off(), delay=30.0)
|
self.run_in(callback=lambda *args, **kwargs: self.light.turn_off(), delay=30.0)
|
||||||
|
|||||||
Reference in New Issue
Block a user