from appdaemon.adapi import ADAPI class Notification: def __init__(self, ad: ADAPI) -> None: self.ad = ad self.ad.logger.info(' NEW LOG LINE '.center(50, '=')) def send(self, message: str = "message not specified") -> None: self.ad.log(message, level="DEBUG")