initial commit
This commit is contained in:
2
apps/my_repo/my_pkg/__init__.py
Normal file
2
apps/my_repo/my_pkg/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
from .motion import Motion
|
||||
from .my_sub_pkg.hello import HelloWorldSub
|
||||
8
apps/my_repo/my_pkg/motion.py
Normal file
8
apps/my_repo/my_pkg/motion.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import appdaemon.adbase as ad
|
||||
|
||||
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')
|
||||
0
apps/my_repo/my_pkg/my_sub_pkg/__init__.py
Normal file
0
apps/my_repo/my_pkg/my_sub_pkg/__init__.py
Normal file
8
apps/my_repo/my_pkg/my_sub_pkg/hello.py
Normal file
8
apps/my_repo/my_pkg/my_sub_pkg/hello.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import appdaemon.adbase as ad
|
||||
|
||||
class HelloWorldSub(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'CHANGED')
|
||||
0
apps/my_repo/pyproject.toml
Normal file
0
apps/my_repo/pyproject.toml
Normal file
Reference in New Issue
Block a user