12 lines
323 B
Python
12 lines
323 B
Python
from appdaemon.adapi import ADAPI
|
|
from globals import GLOBAL_MODE, GLOBAL_VAR
|
|
|
|
|
|
class AppB(ADAPI):
|
|
def initialize(self) -> None:
|
|
self.log(f'{self.__class__.__name__} Initialized')
|
|
self.log(GLOBAL_VAR)
|
|
self.log(f'Global mode is set to: {GLOBAL_MODE.value}')
|
|
|
|
def terminate(self) -> None: ...
|