Use constants from const.py (#21068)

* Use constants from const.py

* Fix lint issues
This commit is contained in:
Fabian Affolter authored and GitHub committed 2019-02-19 14:09:06 +01:00
1 parent 9d3eaada27
commit 2d2c6cf4a1
21 files changed
+105 -188

No files matched your search

+3 -8
View File
@@ -1,9 +1,4 @@
"""
Support for Insteon lights via PowerLinc Modem.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/light.insteon/
"""
"""Support for Insteon lights via PowerLinc Modem."""
import logging
from homeassistant.components.insteon import InsteonEntity
@@ -17,8 +12,8 @@ DEPENDENCIES = ['insteon']
MAX_BRIGHTNESS = 255
async def async_setup_platform(hass, config, async_add_entities,
discovery_info=None):
async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
"""Set up the Insteon component."""
insteon_modem = hass.data['insteon'].get('modem')