Fix Reolink smart AI sensors (#142454)

This commit is contained in:
starkillerOG 2025-04-07 09:35:44 +02:00 committed by Franck Nijhof
parent d39fa39a03
commit 44a92ca81c
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -301,7 +301,7 @@ async def async_setup_entry(
)
for entity_description in BINARY_SMART_AI_SENSORS
for location in api.baichuan.smart_location_list(
channel, entity_description.key
channel, entity_description.smart_type
)
if entity_description.supported(api, channel, location)
)