added more test apps
This commit is contained in:
0
apps/app1/__init__.py
Normal file
0
apps/app1/__init__.py
Normal file
6
apps/app1/database.py
Normal file
6
apps/app1/database.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class DatabaseApp(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'Initialized from {__file__}')
|
||||
|
||||
0
apps/app2/__init__.py
Normal file
0
apps/app2/__init__.py
Normal file
6
apps/app2/database.py
Normal file
6
apps/app2/database.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class OtherDatabaseApp(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'Initialized from {__file__}')
|
||||
|
||||
7
apps/databases.yaml
Normal file
7
apps/databases.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
App1:
|
||||
module: app1.database
|
||||
class: DatabaseApp
|
||||
|
||||
App2:
|
||||
module: app2.database
|
||||
class: OtherDatabaseApp
|
||||
Reference in New Issue
Block a user