Skip to content

Commit

Permalink
Reduce debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sebr committed Jan 19, 2020
1 parent 2607efa commit 45fc235
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion custom_components/bhyve/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion custom_components/bhyve/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 45fc235

Please sign in to comment.