From d00e63486aa34cff80be4aa9c70e41633e8c2064 Mon Sep 17 00:00:00 2001 From: Robbie Trencheny Date: Sun, 3 Apr 2016 15:45:44 -0700 Subject: [PATCH] This code never properly worked because the incorrect variable was used --- homeassistant/components/notify/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/rest.py b/homeassistant/components/notify/rest.py index 4c2c069a4b9..6c913f4f639 100644 --- a/homeassistant/components/notify/rest.py +++ b/homeassistant/components/notify/rest.py @@ -63,7 +63,7 @@ class RestNotificationService(BaseNotificationService): data[self._title_param_name] = kwargs.get(ATTR_TITLE) if self._target_param_name is not None: - data[self._title_param_name] = kwargs.get(ATTR_TARGET) + data[self._target_param_name] = kwargs.get(ATTR_TARGET) if self._method == 'POST': response = requests.post(self._resource, data=data, timeout=10)