From 947e987d5da22dc7270bff7c3392f816d21de248 Mon Sep 17 00:00:00 2001 From: Cody C <50791984+codyc1515@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:11:59 +1300 Subject: [PATCH 1/3] Update button.py logging level --- custom_components/dyson_local/button.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/dyson_local/button.py b/custom_components/dyson_local/button.py index f6c260b..ff6f19b 100644 --- a/custom_components/dyson_local/button.py +++ b/custom_components/dyson_local/button.py @@ -23,12 +23,12 @@ async def async_setup_entry( device = hass.data[DOMAIN][DATA_DEVICES][config_entry.entry_id] name = config_entry.data[CONF_NAME] - _LOGGER.error(f"one {name}") + _LOGGER.debug(f"one {name}") entities = [] if hasattr(device, "filter_life"): - _LOGGER.error(f"two {name}") + _LOGGER.debug(f"two {name}") entities.append(DysonFilterResetButton(device, name)) async_add_entities(entities) From b4a2ea25f88e6923dacb6ebfc5f2c3127516a780 Mon Sep 17 00:00:00 2001 From: Ben Vezzani Date: Sat, 28 Oct 2023 15:44:08 -0400 Subject: [PATCH 2/3] Update custom_components/dyson_local/button.py --- custom_components/dyson_local/button.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/dyson_local/button.py b/custom_components/dyson_local/button.py index ff6f19b..af1e2e2 100644 --- a/custom_components/dyson_local/button.py +++ b/custom_components/dyson_local/button.py @@ -23,7 +23,6 @@ async def async_setup_entry( device = hass.data[DOMAIN][DATA_DEVICES][config_entry.entry_id] name = config_entry.data[CONF_NAME] - _LOGGER.debug(f"one {name}") entities = [] From 106cfdd59a34430adb8d82c604a33fb516fa4d67 Mon Sep 17 00:00:00 2001 From: Ben Vezzani Date: Sat, 28 Oct 2023 15:44:14 -0400 Subject: [PATCH 3/3] Update custom_components/dyson_local/button.py --- custom_components/dyson_local/button.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/dyson_local/button.py b/custom_components/dyson_local/button.py index af1e2e2..adc8fd9 100644 --- a/custom_components/dyson_local/button.py +++ b/custom_components/dyson_local/button.py @@ -27,7 +27,6 @@ async def async_setup_entry( entities = [] if hasattr(device, "filter_life"): - _LOGGER.debug(f"two {name}") entities.append(DysonFilterResetButton(device, name)) async_add_entities(entities)