Fix pydocstyle issues and enable in tox
This commit is contained in:
@@ -56,7 +56,7 @@ def flow_schema(dps):
|
||||
|
||||
|
||||
async def async_setup_entry(hass, config_entry, async_add_entities):
|
||||
"""Setup a Tuya sensor based on a config entry."""
|
||||
"""Set up a Tuya sensor based on a config entry."""
|
||||
tuyainterface, entities_to_setup = prepare_setup_entities(config_entry, DOMAIN)
|
||||
if not entities_to_setup:
|
||||
return
|
||||
|
Reference in New Issue
Block a user