From e57031b1b5bb2bd23d712d98450277daefd0ab4d Mon Sep 17 00:00:00 2001 From: Kevin Siml Date: Thu, 16 Mar 2023 13:03:05 +0100 Subject: [PATCH] Add Pushsafer notify parameters (#89555) --- homeassistant/components/pushsafer/notify.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/pushsafer/notify.py b/homeassistant/components/pushsafer/notify.py index ddf4ca5ef4b..5411db05e2d 100644 --- a/homeassistant/components/pushsafer/notify.py +++ b/homeassistant/components/pushsafer/notify.py @@ -40,7 +40,10 @@ ATTR_TIME2LIVE = "time2live" ATTR_PRIORITY = "priority" ATTR_RETRY = "retry" ATTR_EXPIRE = "expire" +ATTR_CONFIRM = "confirm" ATTR_ANSWER = "answer" +ATTR_ANSWEROPTIONS = "answeroptions" +ATTR_ANSWERFORCE = "answerforce" ATTR_PICTURE1 = "picture1" # Attributes contained in picture1 @@ -120,7 +123,10 @@ class PushsaferNotificationService(BaseNotificationService): "pr": data.get(ATTR_PRIORITY, ""), "re": data.get(ATTR_RETRY, ""), "ex": data.get(ATTR_EXPIRE, ""), + "cr": data.get(ATTR_CONFIRM, ""), "a": data.get(ATTR_ANSWER, ""), + "ao": data.get(ATTR_ANSWEROPTIONS, ""), + "af": data.get(ATTR_ANSWERFORCE, ""), "p": picture1_encoded, }