I have come to explain to you my problem with Legrand.
I have 4 legrand cable outputs with netatmo for my radiators.
The cable outputs are configured in radiator mode with pilot wire on the legrand home + control app
and they work well.
I created 2 temperature schedules on the home + control app:
Comfort mode: 19 °
Eco mode: 17 °
I also have a netatmo thermostat which also works great.
In home assistant I see the netatmo thermostat (via the netatmo integration)
as well as the comfort and eco modes of my radiators.
My issue is the following :
In home assistant when I ask to switch from eco mode to comfort mode, the change is not made
not on radiators.
As soon as I launch the official home + control app from legrand without nowhere (just by launching the app)
my radiators switch to comfort mode.
as long as I do not launch the official home + control app, the mode does not change.
Do you have any idea to solve this problem?
Currently the legrand devices that are supposed to be controllable via Netatmo are not yet supported. Can you please provide details about those products?
Python
async def async_switch_home_schedule(self, schedule_id: str) → None:
“”“Switch the schedule for a give home ID.”“”
if not self.homes[self.home_id].is_valid_schedule(schedule_id):
raise NoSchedule(f"{schedule_id} is not a valid schedule id")
LOG.debug(“Setting home (%s) schedule to %s”, self.home_id, schedule_id)
resp = await self.auth.async_post_request(
url=_SWITCHHOMESCHEDULE_REQ,
params={“home_id”: self.home_id, “schedule_id”: schedule_id},
)
LOG.debug(“Response: %s”, resp)
The command they use is correct but “async” is maybe used to manage multithreading. So, maybe the command is stored in a waiting list
In any case, the best solution is to ask for help to Home Assistant about it as we don’t manage their code
If it isn’t controlled by HA there is nothing I can do. And I still don’t know the exact components nor how they are connected to each other, so it is really difficult.