import json
import logging
-log = logging.getLogger(__name__)
-__author__ = "Helena McGough"
+log = logging.getLogger(__name__)
schema_version = "1.0"
elif key == "notify_alarm":
message = self.notify_alarm(**kwargs)
else:
- log.warn("Failed to generate a valid response message.")
+ log.warning("Failed to generate a valid response message.")
message = None
return message