From 55b344f4bda9ea627b9cfbaa65bc0ffdbd315e0a Mon Sep 17 00:00:00 2001 From: jontofront Date: Fri, 4 Oct 2024 18:22:45 +0300 Subject: [PATCH] call it without returning return after succesfull --- custom_components/econet300/binary_sensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/econet300/binary_sensor.py b/custom_components/econet300/binary_sensor.py index a25a126..c3cf58b 100644 --- a/custom_components/econet300/binary_sensor.py +++ b/custom_components/econet300/binary_sensor.py @@ -119,4 +119,5 @@ async def async_setup_entry( entities: list[EconetBinarySensor] = [] entities.extend(create_binary_sensors(coordinator, api)) - return async_add_entities(entities) + async_add_entities(entities) + return True