Update file header (#21023)
* Update file header * Update file header * Update file header * Update file header * Update file header * Fix lint issues
This commit is contained in:
parent
22af9707ad
commit
127c55e0c1
492 changed files with 1015 additions and 3497 deletions
|
@ -1,9 +1,4 @@
|
|||
"""
|
||||
Support for deCONZ switches.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/switch.deconz/
|
||||
"""
|
||||
"""Support for deCONZ switches."""
|
||||
from homeassistant.components.switch import SwitchDevice
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
|
@ -11,12 +6,11 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
|||
from .const import DOMAIN as DECONZ_DOMAIN, POWER_PLUGS, SIRENS
|
||||
from .deconz_device import DeconzDevice
|
||||
|
||||
|
||||
DEPENDENCIES = ['deconz']
|
||||
|
||||
|
||||
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):
|
||||
"""Old way of setting up deCONZ switches."""
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue