kamaradclimber / heishamon-homeassistant

An integration for heatpumps handled by heishamon
Apache License 2.0
41 stars 22 forks source link

Problem with turn_on/turn_off methods? #197

Closed MEKadan closed 7 months ago

MEKadan commented 7 months ago

Versions

Describe the bug

The following from the HA log:

Logger: homeassistant.components.climate
Source: components/climate/__init__.py:354
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 9 February 2024 at 18:56:35 (2 occurrences)
Last logged: 9 February 2024 at 18:56:35

Entity climate.panasonic_aquarea_main_z1_temp (<class 'custom_components.aquarea.climate.HeishaMonZoneClimate'>) 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/kamaradclimber/heishamon-homeassistant/issues
Entity climate.panasonic_aquarea_main_z2_temp (<class 'custom_components.aquarea.climate.HeishaMonZoneClimate'>) 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/kamaradclimber/heishamon-homeassistant/issues

To Reproduce Steps to reproduce the behavior:

  1. Instaled HA core 2024.2,1 & Heishamon integration 1.7.2
  2. Log entry gets created during system restart

Expected behavior

No errors in log

Screenshots

MQTT dump

kamaradclimber commented 7 months ago

Thanks for opening an issue for this, it seems due to a change in version 2024.2, described on https://developers.home-assistant.io/blog/2024/01/24/climate-climateentityfeatures-expanded/. I'll see how to fix it.