Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA 2024.1.0 seems to break water_heater entities #71

Open
wr420 opened this issue Jan 3, 2024 · 8 comments
Open

HA 2024.1.0 seems to break water_heater entities #71

wr420 opened this issue Jan 3, 2024 · 8 comments

Comments

@wr420
Copy link

wr420 commented Jan 3, 2024

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.

@ntalekt
Copy link

ntalekt commented Jan 4, 2024

Same

@liquidt1983
Copy link

Same happened to me as well.

@jonoberheide
Copy link

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

@dwradcliffe
Copy link
Contributor

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.

@jonoberheide
Copy link

Looks like it's a regression that has been fixed in upstream HA: home-assistant/core#107091

@ntalekt
Copy link

ntalekt commented Jan 5, 2024

My water_heater entities reappeared after HA 2024.1.1 update.

@humangenome
Copy link

my spillway no longer shows up

@Jizzay1
Copy link

Jizzay1 commented Mar 13, 2024

my spillway no longer shows up

Same here not sure why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants