intellicenter icon indicating copy to clipboard operation
intellicenter copied to clipboard

HA 2024.1.0 seems to break water_heater entities

Open wr420 opened this issue 1 year ago • 8 comments

FYI I just upgraded to to HA 2024.1.0 and the 2 water heater entities became unavailable. Restarted, reinstalled intellicenter integration and HACS addon a few times and no luck. At one point I ended up with 2 pool and 2 spa switches with no water heater. Down grading to 2023.12.4 brought them back immediately.

wr420 avatar Jan 03 '24 23:01 wr420

Same

ntalekt avatar Jan 04 '24 01:01 ntalekt

Same happened to me as well.

liquidt1983 avatar Jan 04 '24 16:01 liquidt1983

Some logs here:

2024-01-04 09:14:29.716 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:29.717 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.338 INFO (MainThread) [custom_components.intellicenter.pyintellicenter.controller] model now contains 39 objects
2024-01-04 09:14:30.371 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.371 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.371 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.371 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.372 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hacs.update.HacsRepositoryUpdateEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <UpdateEntityFeature.INSTALL|PROGRESS|RELEASE_NOTES: 21>, please create a bug report at https://github.com/hacs/integration/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.483 WARNING (MainThread) [custom_components.intellicenter.pyintellicenter.controller] CONTROLLER: error 400 : {'command': 'Error', 'messageID': '25c19228-6308-461a-beb8-ba40214bffd9', 'response': '400', 'description': 'ParseError: unexpected end of input'}
2024-01-04 09:14:30.512 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.515 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.516 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.517 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.518 WARNING (MainThread) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from intellicenter, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/jlvaillant/intellicenter/issues
2024-01-04 09:14:30.579 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.intellicenter.light.PoolLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please create a bug report at https://github.com/jlvaillant/intellicenter/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.579 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.intellicenter.light.PoolLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please create a bug report at https://github.com/jlvaillant/intellicenter/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 09:14:30.579 ERROR (MainThread) [homeassistant.components.water_heater] Error adding entities for domain water_heater with platform intellicenter
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/water_heater/__init__.py", line 244, in capability_attributes
    if WaterHeaterEntityFeature.OPERATION_MODE in self.supported_features:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable
2024-01-04 09:14:30.581 ERROR (MainThread) [homeassistant.components.water_heater] Error while setting up intellicenter platform for water_heater
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/water_heater/__init__.py", line 244, in capability_attributes
    if WaterHeaterEntityFeature.OPERATION_MODE in self.supported_features:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable

jonoberheide avatar Jan 04 '24 18:01 jonoberheide

Thanks that log is helpful. My system is off for the winter but I'll try to find some time to poke at the code this weekend and see if I can see what might be wrong.

dwradcliffe avatar Jan 04 '24 18:01 dwradcliffe

Looks like it's a regression that has been fixed in upstream HA: https://github.com/home-assistant/core/pull/107091

jonoberheide avatar Jan 04 '24 18:01 jonoberheide

My water_heater entities reappeared after HA 2024.1.1 update.

ntalekt avatar Jan 05 '24 18:01 ntalekt

my spillway no longer shows up

humangenome avatar Feb 07 '24 03:02 humangenome

my spillway no longer shows up

Same here not sure why

Jizzay1 avatar Mar 13 '24 16:03 Jizzay1