-
-
Notifications
You must be signed in to change notification settings - Fork 36.3k
Description
The problem
The integration with Plugwise Anna has suddenly stopped working. It used to work just fine, but - without any updates to either the Smile/Anna firmware or the HA installation it's stopped working and gives the error in the log as pasted at the bottom.
I've updated from 0.109.3 (where it originally suddenly stopped working) to 0.109.6, to no effect. I've restarted the Smile device, restarted Home assistant, restarted the router, nothing helps.
Based on #26520 I've checked http://<SMILE_IP>/core/domain_objects and put its contents here: https://gist.github.com/rybloo/42ed6624183ba06d6d3c733077791c14. I've also checked /core/rules and put it here: https://gist.github.com/rybloo/e793b6b4cac91ac5d72f84f61bd8742d.
Environment
- Home Assistant Core release with the issue: 0.109.3, 0.109.6
- Last working Home Assistant Core release (if known): 0.109.3
- Operating environment (Home Assistant/Supervised/Docker/venv): Supervised on Ubuntu 20.04
- Integration causing this issue: Plugwise Anna
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/plugwise/
Problem-relevant configuration.yaml
climate:
- platform: plugwise
username: !secret THERMOSTAT_ANNA_USERNAME
password: !secret THERMOSTAT_ANNA_PASSWORD
host: !secret THERMOSTAT_ANNA_IP
name: Anna
min_temp: 7
max_temp: 27(I've also tried without explicitly defined username.)
Traceback/Error logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/plugwise/climate.py", line 279, in update
self._presets = self._api.get_presets(self._domain_objects)
File "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 89, in get_presets
presets = self.get_preset_dictionary(root, rule_id)
File "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 498, in get_preset_dictionary
directive.find("then").attrib["setpoint"]
KeyError: 'setpoint'Additional information
Anna/Smile firmware: 4.0.15