core: Jandy iAquaLink Light not working

The problem

Logger: homeassistant.components.light Source: components/iaqualink/light.py:88 Integration: Light (documentation, issues) First occurred: 2:13:25 PM (2 occurrences) Last logged: 2:13:25 PM

Error adding entities for domain light with platform iaqualink Error while setting up iaqualink platform for light Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 428, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 605, in _async_add_entity capabilities=entity.capability_attributes, File “/usr/src/homeassistant/homeassistant/components/light/init.py”, line 929, in capability_attributes data[ATTR_EFFECT_LIST] = self.effect_list File “/usr/src/homeassistant/homeassistant/components/iaqualink/light.py”, line 88, in effect_list return list(self.dev.supported_light_effects) AttributeError: ‘IaquaColorLightJC’ object has no attribute ‘supported_light_effects’

What version of Home Assistant Core has the issue?

2022.11.2

What was the last working version of Home Assistant Core?

2022.10.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Jandy iAqualink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/iaqualink

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.light
Source: components/iaqualink/light.py:88
Integration: Light ([documentation](https://www.home-assistant.io/integrations/light), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+light%22))
First occurred: 2:13:25 PM (2 occurrences)
Last logged: 2:13:25 PM

Error adding entities for domain light with platform iaqualink
Error while setting up iaqualink platform for light
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 605, in _async_add_entity
    capabilities=entity.capability_attributes,
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 929, in capability_attributes
    data[ATTR_EFFECT_LIST] = self.effect_list
  File "/usr/src/homeassistant/homeassistant/components/iaqualink/light.py", line 88, in effect_list
    return list(self.dev.supported_light_effects)
AttributeError: 'IaquaColorLightJC' object has no attribute 'supported_light_effects'

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 26 (7 by maintainers)

Most upvoted comments

Here are my logs. iaqualink log.txt

Looks like an update was made: https://github.com/home-assistant/core/pull/82251

Hoping this fixes the issue. Need to wait for 11.4 though I’m guessing.

Good question, no idea 😕

Same for me. Just updated Core and OS and lights are not working. Running on HAOS on NUCi7

Logger: homeassistant.components.light Source: components/iaqualink/light.py:88 Integration: Light (documentation, issues) First occurred: 7:41:02 AM (2 occurrences) Last logged: 7:41:02 AM

Error adding entities for domain light with platform iaqualink Error while setting up iaqualink platform for light Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 428, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 605, in _async_add_entity capabilities=entity.capability_attributes, File “/usr/src/homeassistant/homeassistant/components/light/init.py”, line 929, in capability_attributes data[ATTR_EFFECT_LIST] = self.effect_list File “/usr/src/homeassistant/homeassistant/components/iaqualink/light.py”, line 88, in effect_list return list(self.dev.supported_light_effects) AttributeError: ‘IaquaColorLightIB’ object has no attribute ‘supported_light_effects’

and…

Logger: homeassistant.util.logging Source: util/logging.py:168 First occurred: 7:42:33 AM (14 occurrences) Last logged: 7:44:03 AM

Exception in async_write_ha_state when dispatching ‘iaqualink’: () Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 545, in async_write_ha_state self._async_write_ha_state() File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 585, in _async_write_ha_state attr.update(self.state_attributes or {}) File “/usr/src/homeassistant/homeassistant/components/climate/init.py”, line 306, in state_attributes self.target_temperature, File “/usr/src/homeassistant/homeassistant/components/iaqualink/climate.py”, line 87, in target_temperature return float(self.dev.state) ValueError: could not convert string to float: ‘’

Appreciate the help on this @flz!