mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add discovery_info check to LCN light platform (#20280)
* Added discovery_info check to LCN light platform * Removed whitespaces
This commit is contained in:
parent
362ac725bf
commit
d5dcb8f140
@ -19,6 +19,9 @@ DEPENDENCIES = ['lcn']
|
||||
async def async_setup_platform(hass, hass_config, async_add_entities,
|
||||
discovery_info=None):
|
||||
"""Set up the LCN light platform."""
|
||||
if discovery_info is None:
|
||||
return
|
||||
|
||||
import pypck
|
||||
|
||||
devices = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user