mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
This commit is contained in:
@@ -26,10 +26,8 @@ async def async_setup_entry(
|
||||
) -> None:
|
||||
"""Set up discovered binary sensors."""
|
||||
async_add_entities(
|
||||
(
|
||||
HassAqualinkBinarySensor(dev)
|
||||
for dev in hass.data[AQUALINK_DOMAIN][BINARY_SENSOR_DOMAIN]
|
||||
),
|
||||
HassAqualinkBinarySensor(dev)
|
||||
for dev in hass.data[AQUALINK_DOMAIN][BINARY_SENSOR_DOMAIN]
|
||||
True,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user