Fixed async_setup_entry in cover.py

This commit is contained in:
rospogrigio
2020-09-14 20:57:50 +02:00
parent 0e94b681db
commit 285bffdc68

View File

@@ -76,8 +76,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
# TODO: keeping for now but should be removed
dps = {}
dps[config.get(CONF_ID)]=None
pytuyadevice.set_dpsUsed(dps)
covers = []
for device_config in entities_to_setup: