From 705193a0da391a560ba95c2d02cef81a2e684c63 Mon Sep 17 00:00:00 2001 From: jontofront Date: Fri, 26 Jan 2024 11:21:25 +0200 Subject: [PATCH] add mixer debug --- custom_components/econet300/sensor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/econet300/sensor.py b/custom_components/econet300/sensor.py index 9d8c6e4..c193459 100644 --- a/custom_components/econet300/sensor.py +++ b/custom_components/econet300/sensor.py @@ -127,6 +127,9 @@ def create_controller_sensors(coordinator: EconetDataCoordinator, api: Econet300 def can_add_mixer(key: str, coordinator: EconetDataCoordinator): """Check if a mixer can be added.""" + _LOGGER.debug( + "Checking if mixer can be added for key: %s, data %s", key, coordinator.data + ) return coordinator.has_data(key) and coordinator.data[key] is not None