mirror of
https://github.com/home-assistant/core.git
synced 2026-09-05 10:05:52 -05:00
Remove redundant code for Alexa Devices (#153083)
This commit is contained in:
@@ -75,13 +75,6 @@ async def async_setup_entry(
|
||||
"detectionState",
|
||||
)
|
||||
|
||||
async_add_entities(
|
||||
AmazonBinarySensorEntity(coordinator, serial_num, sensor_desc)
|
||||
for sensor_desc in BINARY_SENSORS
|
||||
for serial_num in coordinator.data
|
||||
if sensor_desc.is_supported(coordinator.data[serial_num], sensor_desc.key)
|
||||
)
|
||||
|
||||
known_devices: set[str] = set()
|
||||
|
||||
def _check_device() -> None:
|
||||
|
||||
Reference in New Issue
Block a user