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,11 +1,4 @@
|
|||
"""
|
||||
Support for control of ElkM1 outputs (relays).
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/switch.elkm1/
|
||||
"""
|
||||
|
||||
|
||||
"""Support for control of ElkM1 outputs (relays)."""
|
||||
from homeassistant.components.elkm1 import (
|
||||
DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities)
|
||||
from homeassistant.components.switch import SwitchDevice
|
||||
|
@ -13,8 +6,8 @@ from homeassistant.components.switch import SwitchDevice
|
|||
DEPENDENCIES = [ELK_DOMAIN]
|
||||
|
||||
|
||||
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):
|
||||
"""Create the Elk-M1 switch platform."""
|
||||
if discovery_info is None:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue