Add pylint CodeStyle extension (#53147)

This commit is contained in:
Marc Mueller 2021-07-19 15:57:06 +02:00 committed by GitHub
parent c35b5a1c64
commit f6b162bc39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 103 additions and 98 deletions

View file

@ -224,7 +224,7 @@ class InsteonClimateEntity(InsteonEntity, ClimateEntity):
"""Register INSTEON update events."""
await super().async_added_to_hass()
await self._insteon_device.async_read_op_flags()
for group in [
for group in (
COOLING,
HEATING,
DEHUMIDIFYING,
@ -236,5 +236,5 @@ class InsteonClimateEntity(InsteonEntity, ClimateEntity):
HUMIDITY,
HUMIDITY_HIGH,
HUMIDITY_LOW,
]:
):
self._insteon_device.groups[group].subscribe(self.async_entity_update)