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

Ebeco generate warning i logs #43

Open
TrekBonanza opened this issue Sep 17, 2024 · 5 comments
Open

Ebeco generate warning i logs #43

TrekBonanza opened this issue Sep 17, 2024 · 5 comments

Comments

@TrekBonanza
Copy link

Logger: homeassistant.components.climate
Source: components/climate/init.py:370
integration: Climate (documentation, issues)
First occurred: 21:10:14 (1 occurrences)
Last logged: 21:10:14

Entity None (<class 'custom_components.ebeco.climate.EbecoClimateDevice'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/joggs/home_assistant_ebeco/issues

https://github.com/joggs/home_assistant_ebeco

@gassentb
Copy link

Hello
I have the same error

Logger: homeassistant.components.climate
Källa: components/climate/init.py:371
integration: Klimat (dokumentation, ärenden)
Inträffade först: 10:50:07 (1 händelser)
Senast loggade: 10:50:07

Entity None (<class 'custom_components.ebeco.climate.EbecoClimateDevice'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/joggs/home_assistant_ebeco/issues

@velodromen
Copy link

Same here:

Logger: homeassistant.components.climate
Källa: components/climate/init.py:371
integration: Klimat ([dokumentation], [ärenden]
Inträffade först: 12:22:04 (5 händelser)
Senast loggade: 12:30:23

Entity None (<class 'custom_components.ebeco.climate.EbecoClimateDevice'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/joggs/home_assistant_ebeco/issues

@Schelin78
Copy link

Same here

@Qwerty1979Swe
Copy link

Qwerty1979Swe commented Nov 11, 2024

Just add

self._enable_turn_on_off_backwards_compatibility = False

to

def __init__(self, instance, device_data, main_sensor) -> None:
        """Initialize the thermostat."""
        super().__init__(instance, device_data["id"], main_sensor)
        self.main_sensor = main_sensor
        self._enable_turn_on_off_backwards_compatibility = False

in climate.py

@joggs
Copy link
Owner

joggs commented Nov 11, 2024

Just add

self._enable_turn_on_off_backwards_compatibility = False

to

def __init__(self, instance, device_data, main_sensor) -> None:
        """Initialize the thermostat."""
        super().__init__(instance, device_data["id"], main_sensor)
        self.main_sensor = main_sensor
        self._enable_turn_on_off_backwards_compatibility = False

in climate.py

Thanks. I added the line based on your suggestion. please try the new build that is available in HACS now and tell me if it has been solved

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

6 participants