12 lines
382 B
Python
12 lines
382 B
Python
from app1.notification import Notification
|
|
from appdaemon.adbase import ADBase
|
|
|
|
|
|
class TestNotifier(ADBase):
|
|
def initialize(self):
|
|
self.adapi = self.get_ad_api()
|
|
self.log = self.adapi.log
|
|
self.log(f'Initialized test notifier class: {self.__class__.__name__}')
|
|
self.notify = Notification(self.adapi)
|
|
self.notify.send("Some notifications")
|