some renames and other changes
This commit is contained in:
11
apps/test/test_notify.py
Normal file
11
apps/test/test_notify.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user