Fix Reolink duplicates due to wrong merge (#151298)

This commit is contained in:
starkillerOG
2025-08-28 11:38:08 +02:00
committed by GitHub
parent 61328129fc
commit 210a9ad2de
2 changed files with 0 additions and 2 deletions

View File

@@ -853,7 +853,6 @@ async def async_setup_entry(
ReolinkChimeNumberEntity(reolink_data, chime, entity_description)
for entity_description in CHIME_NUMBER_ENTITIES
for chime in api.chime_list
for chime in api.chime_list
if chime.channel is not None
)
async_add_entities(entities)

View File

@@ -380,7 +380,6 @@ async def async_setup_entry(
ReolinkChimeSelectEntity(reolink_data, chime, entity_description)
for entity_description in CHIME_SELECT_ENTITIES
for chime in reolink_data.host.api.chime_list
if entity_description.supported(chime)
if entity_description.supported(chime) and chime.channel is not None
)
async_add_entities(entities)