Fixed style errors

This commit is contained in:
William Scanlon 2016-01-29 16:48:01 -05:00
parent aaf75c7e45
commit a6720f54b3
2 changed files with 9 additions and 6 deletions

View File

@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__)
REQUIREMENTS = ['https://github.com/w1ll1am23/pygooglevoice-sms/archive/' REQUIREMENTS = ['https://github.com/w1ll1am23/pygooglevoice-sms/archive/'
'7c5ee9969b97a7992fc86a753fe9f20e3ffa3f7c.zip#pygooglevoice-sms==0.0.1'] '7c5ee9969b97a7992fc86a753fe9f20e3ffa3f7c.zip#pygooglevoice-sms==0.0.1']
def get_service(hass, config): def get_service(hass, config):
""" Get the Google Voice SMS notification service. """ """ Get the Google Voice SMS notification service. """
@ -46,7 +47,6 @@ class GoogleVoiceSMSNotificationService(BaseNotificationService):
self.voice.login(self.username, self.password) self.voice.login(self.username, self.password)
for target in targets: for target in targets:
resp = self.voice.send_sms(target, message) self.voice.send_sms(target, message)
self.voice.logout() self.voice.logout()

View File

@ -107,6 +107,9 @@ python-nest==2.6.0
# homeassistant.components.notify.free_mobile # homeassistant.components.notify.free_mobile
freesms==0.1.0 freesms==0.1.0
# homeassistant.components.notify.googlevoice
https://github.com/w1ll1am23/pygooglevoice-sms/archive/7c5ee9969b97a7992fc86a753fe9f20e3ffa3f7c.zip#pygooglevoice-sms==0.0.1
# homeassistant.components.notify.pushbullet # homeassistant.components.notify.pushbullet
pushbullet.py==0.9.0 pushbullet.py==0.9.0