Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
parent
db8db18b54
commit
fbad453c89
92 changed files with 182 additions and 213 deletions
|
@ -78,8 +78,8 @@ async def async_setup_platform(
|
|||
device_data = hass.data[DOMAIN][DATA_DEVICE]
|
||||
|
||||
async_add_entities(
|
||||
SwitcherSensorEntity(device_data, attribute, SENSORS[attribute])
|
||||
for attribute in SENSORS
|
||||
SwitcherSensorEntity(device_data, attribute, sensor)
|
||||
for attribute, sensor in SENSORS.items()
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue