Add Reolink chime support (#122752)

This commit is contained in:
starkillerOG 2024-07-31 17:04:09 +02:00 committed by GitHub
parent f764705629
commit 8c0d9a1320
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 549 additions and 54 deletions

View file

@ -81,11 +81,9 @@ async def async_setup_entry(
if entity_description.supported(reolink_data.host.api, channel)
]
entities.extend(
[
ReolinkHostUpdateEntity(reolink_data, entity_description)
for entity_description in HOST_UPDATE_ENTITIES
if entity_description.supported(reolink_data.host.api)
]
ReolinkHostUpdateEntity(reolink_data, entity_description)
for entity_description in HOST_UPDATE_ENTITIES
if entity_description.supported(reolink_data.host.api)
)
async_add_entities(entities)