fixed leaving?
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
from appdaemon.adapi import ADAPI
|
from appdaemon.plugins.hass.hassapi import Hass
|
||||||
|
|
||||||
class Leaving(ADAPI):
|
|
||||||
|
class Leaving(Hass):
|
||||||
def initialize(self):
|
def initialize(self):
|
||||||
self.listen_state(self.turn_everything_off, entity_id=self.args['person'], old='home')
|
self.listen_state(self.turn_everything_off, entity_id=self.args['person'], old='home')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user