core: KNX Climate broken in 0.96.0

Home Assistant release with the issue: 0.96.0

Last working Home Assistant release (if known): 0.95.4

Operating environment (Hass.io/Docker/Windows/etc.): Docker on Synology NAS

Component/platform: KNX Climate

Description of problem:

After update none of the KNX climate instances are working, throwing errors in the log as per bellow traceback.

Problem-relevant configuration.yaml entries:

- platform: knx
  name: Hallway
  temperature_address: 4/6/1
  target_temperature_state_address: 4/5/1
  setpoint_shift_address: 3/3/1
  setpoint_shift_state_address: 4/3/1
  operation_mode_address: 3/1/1
  controller_status_state_address: 4/0/1

Traceback:

2019-07-18 11:57:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 365, in _async_add_entity
    await entity.async_update_ha_state()
  File "/usr/src/app/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/app/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/app/homeassistant/components/climate/__init__.py", line 181, in state_attributes
    if self.target_temperature_step:
  File "/usr/src/app/homeassistant/components/knx/climate.py", line 222, in target_temperature_step
    return self.device.temperature_step
AttributeError: 'Climate' object has no attribute 'temperature_step'

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 23 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@farmio I have merged back master into dev and all is set for the next release 👍