Improved code readability (racu10's suggestion)
This commit is contained in:
@@ -72,7 +72,7 @@ async def async_setup_entry(
|
||||
if entity[CONF_PLATFORM] == domain
|
||||
]
|
||||
|
||||
if len(entities_to_setup) > 0:
|
||||
if entities_to_setup:
|
||||
|
||||
tuyainterface = hass.data[DOMAIN][TUYA_DEVICES][dev_id]
|
||||
|
||||
|
Reference in New Issue
Block a user