initial commit
This commit is contained in:
11
conf/apps/apps.yaml
Normal file
11
conf/apps/apps.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
hello_world:
|
||||
module: hello
|
||||
class: HelloWorld
|
||||
|
||||
food_app:
|
||||
module: food
|
||||
class: Eggs
|
||||
dependencies:
|
||||
- hello_world
|
||||
# class: Ham
|
||||
# class: Spam
|
||||
5
conf/apps/food-repo/src/food/__init__.py
Normal file
5
conf/apps/food-repo/src/food/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from .eggs import Eggs
|
||||
from .ham import Ham
|
||||
from .spam import Spam
|
||||
|
||||
__all__ = ['Eggs', 'Ham', 'Spam']
|
||||
5
conf/apps/food-repo/src/food/eggs.py
Normal file
5
conf/apps/food-repo/src/food/eggs.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class Eggs(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} Initialized')
|
||||
5
conf/apps/food-repo/src/food/ham.py
Normal file
5
conf/apps/food-repo/src/food/ham.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class Ham(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} Initialized')
|
||||
5
conf/apps/food-repo/src/food/spam.py
Normal file
5
conf/apps/food-repo/src/food/spam.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class Spam(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} Initialized')
|
||||
5
conf/apps/hello.py
Normal file
5
conf/apps/hello.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
class HelloWorld(ADAPI):
|
||||
def initialize(self):
|
||||
self.log(f'{self.__class__.__name__} Initialized')
|
||||
Reference in New Issue
Block a user