From 13b881acfca9725f76a9be81827c5b0d61576c80 Mon Sep 17 00:00:00 2001 From: tkdrob <tkdrob4390@yahoo.com> Date: Sat, 13 Feb 2021 07:07:11 -0500 Subject: [PATCH] Use core constants for simplepush (#46465) --- homeassistant/components/simplepush/notify.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 1d101534157..5a83dec69f0 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -8,13 +8,12 @@ from homeassistant.components.notify import ( PLATFORM_SCHEMA, BaseNotificationService, ) -from homeassistant.const import CONF_PASSWORD +from homeassistant.const import CONF_EVENT, CONF_PASSWORD import homeassistant.helpers.config_validation as cv ATTR_ENCRYPTED = "encrypted" CONF_DEVICE_KEY = "device_key" -CONF_EVENT = "event" CONF_SALT = "salt" PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( @@ -44,7 +43,6 @@ class SimplePushNotificationService(BaseNotificationService): def send_message(self, message="", **kwargs): """Send a message to a Simplepush user.""" - title = kwargs.get(ATTR_TITLE, ATTR_TITLE_DEFAULT) if self._password: -- GitLab