mirror of
https://github.com/home-assistant/core.git
synced 2025-09-09 14:51:34 +02:00
Fix Reolink duplicates due to wrong merge (#151298)
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user