signalkraft / mypyllant-component

Home Assistant component for the myVAILLANT API, controls Vaillant devices such as aroTHERM heatpumps and ecoTEC boilers
https://signalkraft.com/mypyllant-component/
MIT License
107 stars 19 forks source link

Climate entity gone #148

Closed minosrex closed 3 months ago

minosrex commented 3 months ago

Before submitting a new issue

Problem description

Since the latest version of the component, new sensors have been added but the climate entity is no longer there.

Logs

Logger: homeassistant.components.climate Source: helpers/entity_platform.py:509 Integration: Klimaat (documentation, issues) First occurred: 21:29:43 (1 occurrences) Last logged: 21:29:43

Error adding entities for domain climate with platform mypyllant Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 664, in _async_add_entity capabilities=entity.capability_attributes, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 276, in capability_attributes supported_features = self.supported_features ^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/climate.py", line 463, in supported_features | ClimateEntityFeature.TURN_OFF ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/enum.py", line 784, in getattr raise AttributeError(name) from None AttributeError: TURN_OFF

Logger: homeassistant.components.climate Source: helpers/entity_platform.py:369 Integration: Klimaat (documentation, issues) First occurred: 21:29:43 (1 occurrences) Last logged: 21:29:43

Error while setting up mypyllant platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 369, in _async_setup_platform await asyncio.gather(pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in async_add_entities await asyncio.gather(tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 664, in _async_add_entity capabilities=entity.capability_attributes, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 276, in capability_attributes supported_features = self.supported_features ^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/climate.py", line 463, in supported_features | ClimateEntityFeature.TURN_OFF ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/enum.py", line 784, in getattr raise AttributeError(name) from None AttributeError: TURN_OFF

StoniHome commented 3 months ago

I've a similar issue, after update to v0.8.2 the following entities are gone

Tibinobo commented 3 months ago

Ich habe auch ein ähnliches Problem. Ich bin zurück zu Version v0.7.4, bei allen nachfolgenden Versionen sind

signalkraft commented 3 months ago

Please read the note in the releases.

signalkraft commented 3 months ago

As for the issue with TURN_OFF, you need at least Home Assistant 2024.2

Tibinobo commented 3 months ago

oh, Entschuldigung, das hatte ich noch nicht gelesen. Jetzt funktionieren diese Entitäten.Vielen Dank für die Mühe.Mit freundlichen Grüßen und frohe Ostern.Von meinem/meiner Galaxy gesendet -------- Ursprüngliche Nachricht --------Von: signalkraft @.> Datum: 28.03.24 18:04 (GMT+01:00) An: signalkraft/mypyllant-component @.> Cc: Tibinobo @.>, Comment @.> Betreff: Re: [signalkraft/mypyllant-component] Climate entity gone (Issue #148) Please read the note in the releases.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>