app definition organization
This commit is contained in:
@@ -2,8 +2,11 @@ from pathlib import Path
|
||||
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
from ..notification import Notification
|
||||
|
||||
|
||||
class Foo(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'Initialized app from {Path(__file__).relative_to(self.AD.app_dir.parent)}')
|
||||
self.notification = Notification(self.AD)
|
||||
# self.log(' FOO '.center(50, '-'))
|
||||
|
||||
Reference in New Issue
Block a user