Replace lists with tuples (2) (#53685)

This commit is contained in:
Marc Mueller
2021-07-30 01:20:03 +02:00
committed by GitHub
parent 5eba3e485b
commit 0815eede4b
61 changed files with 137 additions and 139 deletions

View File

@ -397,7 +397,7 @@ class ISYBinarySensorHeartbeat(ISYNodeEntity, BinarySensorEntity):
The ISY uses both DON and DOF commands (alternating) for a heartbeat.
"""
if event.control in [CMD_ON, CMD_OFF]:
if event.control in (CMD_ON, CMD_OFF):
self.async_heartbeat()
@callback