From 45fc235fa208ecd4581d48e17b1c085810b980e6 Mon Sep 17 00:00:00 2001 From: Seb Ruiz Date: Sun, 19 Jan 2020 20:55:16 +1100 Subject: [PATCH] Reduce debug logging --- custom_components/bhyve/__init__.py | 1 - custom_components/bhyve/switch.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/bhyve/__init__.py b/custom_components/bhyve/__init__.py index b4ade9d..65d4fd5 100644 --- a/custom_components/bhyve/__init__.py +++ b/custom_components/bhyve/__init__.py @@ -67,7 +67,6 @@ async def async_setup(hass, config): packet_dump = conf.get(CONF_PACKET_DUMP) conf_dir = conf.get(CONF_CONF_DIR) - _LOGGER.info("config dir %s", hass.config.config_dir) if conf_dir == "": conf_dir = hass.config.config_dir + "/.bhyve" diff --git a/custom_components/bhyve/switch.py b/custom_components/bhyve/switch.py index f14b6f0..196c434 100644 --- a/custom_components/bhyve/switch.py +++ b/custom_components/bhyve/switch.py @@ -32,7 +32,7 @@ async def async_setup_platform(hass, config, async_add_entities, _discovery_info if device.get("type") == "sprinkler_timer": sensor_type = SENSOR_TYPES["zone"] for zone in device.get("zones"): - _LOGGER.info("ZONE: %s", zone) + _LOGGER.debug("ZONE: %s", zone) name = "{0} Zone".format(zone.get("name", "Unknown")) _LOGGER.info("Creating switch: %s", name) switches.append(