address feedback on log lines

This commit is contained in:
Derek Brooks 2017-12-06 21:52:44 -06:00
parent 72aa722c33
commit 36d5fff8e0
2 changed files with 1 additions and 3 deletions

View File

@ -45,7 +45,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
if discovery_info is None:
return
_LOGGER.info("Loading NuHeat thermostat climate component")
temperature_unit = hass.config.units.temperature_unit
api, serial_numbers, min_away_temp = hass.data[DATA_NUHEAT]
thermostats = [
@ -209,7 +208,7 @@ class NuHeatThermostat(ClimateDevice):
else:
self._thermostat.target_fahrenheit = temperature
_LOGGER.info(
_LOGGER.debug(
"Setting NuHeat thermostat temperature to %s %s",
temperature, self.temperature_unit)

View File

@ -58,5 +58,4 @@ def setup(hass, config):
hass.data[DATA_NUHEAT] = (api, devices, min_away_temp)
discovery.load_platform(hass, "climate", DOMAIN, {}, config)
_LOGGER.debug("NuHeat initialized")
return True