mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Code formatting
Correct pylint errors
This commit is contained in:
parent
542b640ef0
commit
bc73a6829d
@ -9,7 +9,7 @@ https://home-assistant.io/components/notify. ... /
|
||||
import logging
|
||||
from homeassistant.helpers import validate_config
|
||||
from homeassistant.components.notify import (
|
||||
DOMAIN, ATTR_TITLE, BaseNotificationService)
|
||||
DOMAIN, BaseNotificationService)
|
||||
from homeassistant.const import CONF_USERNAME, CONF_ACCESS_TOKEN
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
@ -33,8 +33,6 @@ def get_service(hass, config):
|
||||
class FreeSMSNotificationService(BaseNotificationService):
|
||||
""" Implements notification service for the Free SMS service. """
|
||||
|
||||
|
||||
|
||||
def __init__(self, username, access_token):
|
||||
from freesms import FreeClient
|
||||
self.free_client = FreeClient(username, access_token)
|
||||
|
Loading…
x
Reference in New Issue
Block a user