Fix llamalab_automate notify priority (#36845)

This commit is contained in:
fb22 2020-06-16 12:42:12 +02:00 committed by GitHub
parent a68af0a3a9
commit 6273ad85f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ class AutomateNotificationService(BaseNotificationService):
# Extract params from data dict
data = dict(kwargs.get(ATTR_DATA) or {})
priority = data.get(ATTR_PRIORITY, "Normal")
priority = data.get(ATTR_PRIORITY, "normal").lower()
_LOGGER.debug(
"Sending to: %s, %s, prio: %s", self._recipient, str(self._device), priority