Skip to content

climate entity not available after Plugwise update #32080

@Mariusthvdb

Description

@Mariusthvdb

The problem

Climate entity is not available for my Anna (plug wise) thermostat after updating to firmware 3.1.11

Environment

  • Home Assistant release with the issue: 105.5 and 106b1
  • Last working Home Assistant release (if known): 105.5
  • Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
  • Integration causing this issue: climate plug wise
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/plugwise/

Problem-relevant configuration.yaml

climate:
  - platform: plugwise_dev
    password: password
    host: 192.168.1.130
    name: Kantoor

Traceback/Error logs

2020-02-22 10:03:45 ERROR (MainThread) [homeassistant.components.climate] plugwise_dev: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, 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 "/config/custom_components/plugwise_dev/climate.py", line 276, in update
    self._domain_objects
  File "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 165, in get_last_active_schema_name
    last_schema_active = self.get_last_active_name(root, rule_id)
  File "/usr/local/lib/python3.7/site-packages/haanna/haanna.py", line 552, in get_last_active_name
    schema_time = datetime.datetime.strptime(corrected, date_format)
  File "/usr/local/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/local/lib/python3.7/_strptime.py", line 359, in _strptime
    (data_string, format))
ValueError: time data '2020-02-20T19:16:34+0100' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'

Additional information

see community post https://community.home-assistant.io/t/advice-how-to-load-sensor-info-from-plugwise-anna-thermostat-web-interface-xml/87801/162?u=mariusthvdb

and issue on Haanna laetificat/anna-ha#31

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions