foo, bar, baz rename
This commit is contained in:
12
apps/my_repo/my_pkg/my_sub_pkg/bar.py
Normal file
12
apps/my_repo/my_pkg/my_sub_pkg/bar.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pathlib import Path
|
||||
|
||||
from appdaemon.adbase import ADBase
|
||||
|
||||
filename = Path(__file__).name
|
||||
print(f' Importing {filename} '.center(50, '-'))
|
||||
|
||||
class Bar(ADBase):
|
||||
def initialize(self):
|
||||
self.adapi = self.get_ad_api()
|
||||
self.adapi.log(f'Initialized app from {__file__}')
|
||||
# self.adapi.log(f'CHANGED')
|
||||
Reference in New Issue
Block a user