added family folder
This commit is contained in:
@@ -5,3 +5,5 @@ hello_world:
|
|||||||
simple_app:
|
simple_app:
|
||||||
module: simple
|
module: simple
|
||||||
class: SimpleApp
|
class: SimpleApp
|
||||||
|
dependencies:
|
||||||
|
- hello_world
|
||||||
15
conf/apps/family/chain.yaml
Normal file
15
conf/apps/family/chain.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
child:
|
||||||
|
module: child
|
||||||
|
class: Child
|
||||||
|
|
||||||
|
parent:
|
||||||
|
module: parent
|
||||||
|
class: Parent
|
||||||
|
dependencies:
|
||||||
|
- child
|
||||||
|
|
||||||
|
grand-parent:
|
||||||
|
module: grand_parent
|
||||||
|
class: GrandParent
|
||||||
|
dependencies:
|
||||||
|
- parent
|
||||||
6
conf/apps/family/child.py
Normal file
6
conf/apps/family/child.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
class Child(ADAPI):
|
||||||
|
def initialize(self):
|
||||||
|
self.log(f"{self.__class__.__name__} Initialized")
|
||||||
|
self.logs(f'Modified {self.__class__.__name__}')
|
||||||
5
conf/apps/family/grand_parent.py
Normal file
5
conf/apps/family/grand_parent.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
class GrandParent(ADAPI):
|
||||||
|
def initialize(self):
|
||||||
|
self.log(f"{self.__class__.__name__} Initialized")
|
||||||
5
conf/apps/family/parent.py
Normal file
5
conf/apps/family/parent.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
from appdaemon.adapi import ADAPI
|
||||||
|
|
||||||
|
class Parent(ADAPI):
|
||||||
|
def initialize(self):
|
||||||
|
self.log(f"{self.__class__.__name__} Initialized")
|
||||||
Reference in New Issue
Block a user