Appdaemon - Add another log channel

This commit is contained in:
Thomas Lovén 2019-03-31 17:54:15 +02:00
parent e515c0e07a
commit 5dbb1be2bb

View File

@ -10,6 +10,8 @@ class Logger(Base):
def log_out(self, message):
self.call_service('notify/discord_log', message=message)
def info_out(self, message):
self.call_service('notify/discord_info', message=message)
def event(self, name, data, kwargs):
if name == 'call_service' and data['service'] == 'discord_log':