Netatmo: set_preset_mode not working anymore

I turned on the heat yesterday and I see now that my automation that controls Netatmo Thermostat with the climate.set_preset_mode does not work anymore.
I get the following error in the log:

2022-11-09 14:17:20.971 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140508171793648] 400 - Bad request - Invalid mode (21) when accessing ''
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/", line 202, in handle_call_service
  File "/usr/src/homeassistant/homeassistant/", line 1738, in async_call
  File "/usr/src/homeassistant/homeassistant/", line 1775, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]],
  File "/usr/src/homeassistant/homeassistant/helpers/", line 207, in handle_service
    await service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/", line 678, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/", line 931, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/", line 715, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/netatmo/", line 318, in async_set_preset_mode
    await self._room.async_therm_set(PRESET_MAP_NETATMO[preset_mode])
  File "/usr/local/lib/python3.10/site-packages/pyatmo/", line 111, in async_therm_set
    await self._async_set_thermpoint(mode, temp, end_time)
  File "/usr/local/lib/python3.10/site-packages/pyatmo/", line 165, in _async_set_thermpoint
    await self.home.auth.async_post_api_request(
  File "/usr/local/lib/python3.10/site-packages/pyatmo/", line 351, in async_post_api_request
    return await self.async_post_request(
  File "/usr/local/lib/python3.10/site-packages/pyatmo/", line 389, in async_post_request
    raise ApiError(
pyatmo.exceptions.ApiError: 400 - Bad request - Invalid mode (21) when accessing ''

I have HA 2022.10.5.

This command and automation used to work on March (the last time I had my heat on).

I have to add that I’m trying to set “away” mode.

Does anyone know why this is happening?