added family folder

This commit is contained in:
John Lancaster
2024-08-14 00:11:53 -05:00
parent c10d280dcb
commit 4547668c2b
5 changed files with 33 additions and 0 deletions

View File

@@ -5,3 +5,5 @@ hello_world:
simple_app: simple_app:
module: simple module: simple
class: SimpleApp class: SimpleApp
dependencies:
- hello_world

View 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

View 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__}')

View File

@@ -0,0 +1,5 @@
from appdaemon.adapi import ADAPI
class GrandParent(ADAPI):
def initialize(self):
self.log(f"{self.__class__.__name__} Initialized")

View File

@@ -0,0 +1,5 @@
from appdaemon.adapi import ADAPI
class Parent(ADAPI):
def initialize(self):
self.log(f"{self.__class__.__name__} Initialized")