Hi. I’ve successfully integrated my Netatmo smart radiator valves in my HA, but the max temperature that i can set in lovelace is 35° instead of 30°.
I’ve tried to understand why it happens (I’m absolutely new to HA);
The file /srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/netatmo/climate.py already has an entry “DEFAULT_MAX_TEMP = 30”.
If I accidentally set the temperature over 30° the logger reports:
400 - Bad request - Temperature too high (21) when accessing 'https://api.netatmo.com/api/setroomthermpoint'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/websocket_api/commands.py", line 138, in handle_call_service
await hass.services.async_call(
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1335, in async_call
task.result()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/core.py", line 1370, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/service.py", line 470, in entity_service_call
future.result() # pop exception if have
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 655, in async_request_call
await coro
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/service.py", line 507, in _handle_entity_call
await result
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/climate/__init__.py", line 544, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/climate/__init__.py", line 404, in async_set_temperature
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/netatmo/climate.py", line 376, in set_temperature
self._home_status.set_room_thermpoint(self._id, STATE_NETATMO_MANUAL, temp)
File "/srv/homeassistant/lib/python3.8/site-packages/pyatmo/thermostat.py", line 261, in set_room_thermpoint
return self.auth.post_request(url=_SETROOMTHERMPOINT_REQ, params=post_params)
File "/srv/homeassistant/lib/python3.8/site-packages/pyatmo/auth.py", line 169, in post_request
raise ApiError(
pyatmo.exceptions.ApiError: 400 - Bad request - Temperature too high (21) when accessing 'https://api.netatmo.com/api/setroomthermpoint'
What should I do? Thank you!