Skip to content

Commit 54b1749

Browse files
chemelli74frenck
authored andcommitted
Remove redundant code for Alexa Devices (home-assistant#153083)
1 parent eaf2643 commit 54b1749

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

homeassistant/components/alexa_devices/binary_sensor.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,6 @@ async def async_setup_entry(
7575
"detectionState",
7676
)
7777

78-
async_add_entities(
79-
AmazonBinarySensorEntity(coordinator, serial_num, sensor_desc)
80-
for sensor_desc in BINARY_SENSORS
81-
for serial_num in coordinator.data
82-
if sensor_desc.is_supported(coordinator.data[serial_num], sensor_desc.key)
83-
)
84-
8578
known_devices: set[str] = set()
8679

8780
def _check_device() -> None:

0 commit comments

Comments
 (0)