def auto_reset(self):
    if conf['HEATING_AUTO_RESET']:
        current_time = dt.now().time()
        target_time = conf['HEATING_AUTO_RESET_TIME']
        if (current_time.strftime('%H:%M') == target_time):
            logging.info('Resetting temperature on all thermostats now!')
            thermostats = self.get_thermostats()
            for thermostat in thermostats:
                thermostat.set_temperature(conf['HEATING_LOW_TEMP'])
def auto_reset(self):
    if conf['HEATING_AUTO_RESET']:
        current_time = dt.now().time()
        target_time = conf['HEATING_AUTO_RESET_TIME']
        if (current_time.strftime('%H:%M') == target_time):
            logging.info('Resetting temperature on all thermostats now!')
            thermostats = self.get_thermostats()
            for thermostat in thermostats:
                thermostat.set_temperature(conf['HEATING_LOW_TEMP'])