10 lines
247 B
Python
10 lines
247 B
Python
from pathlib import Path
|
|
|
|
from appdaemon.adapi import ADAPI
|
|
|
|
|
|
class Foo(ADAPI):
|
|
def initialize(self):
|
|
self.log(f'Initialized app from {Path(__file__).relative_to(self.AD.app_dir.parent)}')
|
|
# self.log(' FOO '.center(50, '-'))
|