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

local.climate.TuyaLocalClimate Bug HA 2024.3 #1734

Closed
Kaeybe opened this issue Mar 10, 2024 · 7 comments
Closed

local.climate.TuyaLocalClimate Bug HA 2024.3 #1734

Kaeybe opened this issue Mar 10, 2024 · 7 comments

Comments

@Kaeybe
Copy link

Kaeybe commented Mar 10, 2024

Hello,
After updating HomeAssistant, this warning appeared

Registratore: homeassistant.components.climate
Fonte: components/climate/init.py:361
integration: Climatizzatore (documentazione, problemi)
Prima occorrenza: 22:30:01 (1 occorrenze)
Ultima registrazione: 22:30:01

Entity None (<class 'custom_components.tuya_local.climate.TuyaLocalClimate'>) implements HVACMode(s): off, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/make-all/tuya-local/issues

@Kaeybe Kaeybe added the bug Something isn't working label Mar 10, 2024
@make-all make-all removed the bug Something isn't working label Mar 10, 2024
@make-all
Copy link
Owner

Duplicate of #1597 which was fixed in tuya-local 2024.3.1, you must still be on an older version.

@Kaeybe
Copy link
Author

Kaeybe commented Mar 10, 2024

I have 2024.3.1 version

@make-all
Copy link
Owner

Which device is this for? There are some devices that do not support TURN_OFF and TURN_ON, but the underlying climate implementation in tuya-local needs to implement those functions for the devices that do support them.

The way HA has chosen to spam the logs with instructions to file bugs reports against integrations is a bit rude really.

@Kaeybe
Copy link
Author

Kaeybe commented Mar 11, 2024

I'm sorry, I didn't mean to disturb. I thought it would be useful write this bug, my device is a Klarstein Bornholm Smart heater

@make-all
Copy link
Owner

I'm not sure which config that would be, but both Klarstein heater configs look like they should result in TURN_OFF and TURN_ON being explicitly supported.

Maybe the device diagnostics can show what the problem is (Settings/Devices&Services/Tuya local [...Devices]/[your device]/Download Diagnostics)

make-all added a commit that referenced this issue Mar 27, 2024
We already effectively opt out by explicitly defining these functions, but
the braindead way the deprecation notices work mean we need to also opt out
with this secret flag.

Issue #1513, #1737, #1734, #1637, #1632
home-assistant/core#114286
@AnthonyBe
Copy link

I'm also still seeing this warning logged with HA 2024.4.4 and integration v2024.3.2
2024-04-26 10:42:17.215 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.tuya_local.climate.TuyaLocalClimate'>) implements HVACMode(s): off, heat_cool, cool, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/make-all/tuya-local/issues

I have a Madimack Elite V3 Pool heat pump.

Device diagnostics attached. Please let me know if you need anything else to further investigate.
config_entry-tuya_local-d034ef92878d07fe82ac2895d3fca661.json

@make-all
Copy link
Owner

Nothing further is needed. The message is a false message which the HA devs have indicated they have no intention of fixing, so an ugly workaround has been installed which will be in the next release of this integration.

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

3 participants