Fixed async_setup_entry in cover.py
This commit is contained in:
@@ -76,8 +76,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||||||
|
|
||||||
# TODO: keeping for now but should be removed
|
# TODO: keeping for now but should be removed
|
||||||
dps = {}
|
dps = {}
|
||||||
dps[config.get(CONF_ID)]=None
|
|
||||||
pytuyadevice.set_dpsUsed(dps)
|
|
||||||
|
|
||||||
covers = []
|
covers = []
|
||||||
for device_config in entities_to_setup:
|
for device_config in entities_to_setup:
|
||||||
|
Reference in New Issue
Block a user