In fhem, there is a module to communicate with the thermostat directly. I tried to kinda understand it, but it’s really hard to understand imo. It’s using the broadlink stuff too, but to communicate with it directly.
i had the configured mac like that (with quotation marks) forever and it always worked.
i think is related to changes on how custom_components are loaded in hassio
Hi, I have an issue since day one of using this component, in previous and current version.
Every time I restart home assistant (quite frequent since I’m adding bits and pieces to my config), the thermostats time gets set one day before the current date. The time remains correct, but the day of the week is always moved one day back.
I haven’t found the reason, is it possible to call a service to set the correct time and date in an automation at the start of home assistant?
I believe Monday is 0, Tuesday is 1 etc in in datetime.now().weekday(). In fact it happens if I restart regardless of the day of the week, not only on Sunday.
Yours is different because you use dt_util from homeassistant.util.dt.
Being quite trivial is maybe better to wait for a fix from ClementTal (or I’ll to contributre for the first time!) rather than finding a workaround with automations.
I’m trying to upgrade from 0.87.
As I have plenty of Broadlink devices (MP1, SC1, RM…) including other custom components based on those (Broadlink IR media player, now SmartIR), I tried a different approach and I wonder what consequences there could be.
I’ve created the custom component in beok/climate.py and used “platform : beok” to declare the climate device. Seems to work fine as of 0.91.4. Didn’t work in 0.92, can’t figure out why !
Do you have other Broadlink devices ? If so, the __init__.py should be different.(see repo)
Or, see my post above, I renamed the platform, didn’t need more than renaming the folder (broadlink -> broadlink1 or test or beok, whatever you like) and match the climate declaration “platform: broadlink1”
I have absolutely no idea why this works !!
I guess HA sees the component as something different from existing ones. But then, this defeats the point of the “great migration” as upgrades of internal component may break the custom component ? So it cannot be that simple.