Fix review requests for BleBox support from #35370 (#35786)

* fix review requests from #35370

* fix pylint W0621 (redefined-outer-name)
This commit is contained in:
gadgetmobile authored and GitHub committed 2020-05-18 22:30:15 +02:00
1 parent 8258fa515d
commit 93fddbed2b
9 files changed
+32 -24

No files matched your search

+2 -2
View File
@@ -5,10 +5,10 @@ from . import BleBoxEntity, create_blebox_entities
from .const import BLEBOX_TO_HASS_DEVICE_CLASSES
async def async_setup_entry(hass, config_entry, async_add):
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up a BleBox switch entity."""
create_blebox_entities(
hass, config_entry, async_add, BleBoxSwitchEntity, "switches"
hass, config_entry, async_add_entities, BleBoxSwitchEntity, "switches"
)