Pylint 2.9.3 (#52972)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
Daniel Hjelseth Høyer 2021-07-15 06:44:57 +02:00 committed by GitHub
parent db8db18b54
commit fbad453c89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
92 changed files with 182 additions and 213 deletions

View file

@ -112,10 +112,10 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
entities.append(AugustDoorBinarySensor(data, "door_open", door))
for doorbell in data.doorbells:
for sensor_type in SENSOR_TYPES_DOORBELL:
for sensor_type, sensor in SENSOR_TYPES_DOORBELL.items():
_LOGGER.debug(
"Adding doorbell sensor class %s for %s",
SENSOR_TYPES_DOORBELL[sensor_type][SENSOR_DEVICE_CLASS],
sensor[SENSOR_DEVICE_CLASS],
doorbell.device_name,
)
entities.append(AugustDoorbellBinarySensor(data, sensor_type, doorbell))