Home Assistant Community

Beta for Hysen thermostats powered by broadlink

#205

Thank you @uss! Problem was on my side, something went wrong while replacing the file. deleted and readded the file + restart fixed it.

0 Likes

#206

Thank you @uss for pointing me in the direction of this.

I have 1 small snag, randomly the thermostat seems to get a call from homeassistant and lights up, this is a problem for my wife as the thermostat is located in the bedroom and she’s a light sleeper.

Any idea’s how to prevent it doing this?

Thanks

0 Likes

#207

I do.
Please comment (put a # in front of each line) the last 8 lines in climate.py, starting with:

        _weekday = int(dt_util.as_local(dt_util.now()).strftime('%w'))

like this:

#            _weekday = int(dt_util.as_local(dt_util.now()).strftime('%w'))
#            if self._device_available:
#                if _weekday == 0:
#                    _weekday = 7
#                if (self._hysen_device.clock_weekday != _weekday) or \
#                   (self._hysen_device.clock_hour != int(dt_util.as_local(dt_util.now()).strftime('%H'))) or \
#                   (self._hysen_device.clock_min != int(dt_util.as_local(dt_util.now()).strftime('%M'))):
#                    await self.async_set_time_now()

reboot Home Assistant and you’ll be fine.

Those lines auto sync the device’s clock.

Cheers,
us

0 Likes

#208

Thank you @uss that’s a great help.

0 Likes