fixed patio

This commit is contained in:
John Lancaster
2024-08-30 08:35:07 -05:00
parent 9e01dc7958
commit 6970bab14e

View File

@@ -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)