From 7b281d004e8ae183147ba589ac6fc74adaa9acd2 Mon Sep 17 00:00:00 2001 From: Seb Ruiz Date: Tue, 18 Feb 2020 21:49:11 +1100 Subject: [PATCH] Reduce debug logging --- custom_components/bhyve/switch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/bhyve/switch.py b/custom_components/bhyve/switch.py index 042b6e8..4752496 100644 --- a/custom_components/bhyve/switch.py +++ b/custom_components/bhyve/switch.py @@ -112,14 +112,12 @@ def _setup(self, device): self._initial_programs = None def _set_watering_started(self, timestamp): - _LOGGER.debug("Timestamp is {}".format(timestamp)) if timestamp is not None: self._attrs[ATTR_STARTED_WATERING_AT] = orbit_time_to_local_time(timestamp) else: self._attrs[ATTR_STARTED_WATERING_AT] = None def _set_watering_program(self, watering_program): - _LOGGER.debug("Watering program {}".format(watering_program)) if watering_program is None: self._attrs[ATTR_WATERING_PROGRAM] = None return