Use port instead of url and fix PEP257 issues (#4192)

This commit is contained in:
Fabian Affolter 2016-11-04 02:43:42 +01:00 committed by Paulus Schoutsen
parent d7b3c9c38e
commit 61a0976752
4 changed files with 15 additions and 13 deletions

View file

@ -5,6 +5,7 @@ For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/scene.litejet/
"""
import logging
import homeassistant.components.litejet as litejet
from homeassistant.components.scene import Scene
@ -16,7 +17,7 @@ _LOGGER = logging.getLogger(__name__)
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup scenes for the LiteJet platform."""
"""Set up scenes for the LiteJet platform."""
litejet_ = hass.data['litejet_system']
devices = []
@ -28,7 +29,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
class LiteJetScene(Scene):
"""Represents a single LiteJet scene."""
"""Representation of a single LiteJet scene."""
def __init__(self, lj, i, name):
"""Initialize the scene."""