mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Replace lists with tuples (2) (#53685)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user