added module import printing
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
from pathlib import Path
|
||||
|
||||
import appdaemon.adbase as ad
|
||||
|
||||
print(f' Importing {Path(__file__).name} '.center(50, '-'))
|
||||
|
||||
class Motion(ad.ADBase):
|
||||
def initialize(self):
|
||||
self.adapi = self.get_ad_api()
|
||||
self.log = self.adapi.log
|
||||
self.log(f'Initialized app from {__file__}')
|
||||
# self.log(f'New log line asdfasdf')
|
||||
|
||||
self.changes = False
|
||||
self.adapi.log(f'Initialized app from {__file__} new line changes: {self.changes}')
|
||||
|
||||
print(f'Done, motion.changes = {Motion.changes}'.center(50, '-'))
|
||||
Reference in New Issue
Block a user