From aee4411cfb5a287e72141a4104573afa8f70d125 Mon Sep 17 00:00:00 2001 From: Tom Duijf Date: Sun, 15 Nov 2015 22:44:51 +0000 Subject: [PATCH] . split only on first separator --- homeassistant/components/notify/pushbullet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/pushbullet.py b/homeassistant/components/notify/pushbullet.py index 8ac2a88a216..019182ec486 100644 --- a/homeassistant/components/notify/pushbullet.py +++ b/homeassistant/components/notify/pushbullet.py @@ -81,7 +81,7 @@ class PushBulletNotificationService(BaseNotificationService): targets = [targets] # Main loop, Process all targets specified - for ttype, tname in [target.split('.') for target in targets]: + for ttype, tname in [target.split('.', 1) for target in targets]: if ttype == 'device' and not tname: # Allow for 'normal' push, combined with other targets self.pushbullet.push_note(title, message)