DavidIlie / tuya-smart-ir-ac

Control Tuya IR based air conditioners from Home Assistant
12 stars 6 forks source link

Deprecate Entity None #4

Open Great-Slider opened 2 months ago

Great-Slider commented 2 months ago

Using your code, one entity working fine. but i have 3 AC and 3 Smart IR in Smart Life Working only first from configuration.yaml How do I make the code with three air conditioners work?

And when i search errors, a had following warning:

Entity None (<class 'custom_components.tuya_smart_ir_ac.climate.TuyaThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE: 9>, please report it to the author of the 'tuya_smart_ir_ac' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Great-Slider commented 2 months ago

and i solved need add some code like this image image image

DavidIlie commented 2 months ago

Thank you! Will merge this code to the main repository

On Mon, Apr 22, 2024 at 3:06 PM Great-Slider @.***> wrote:

and i solved need add some code like this image.png (view on web) https://github.com/DavidIlie/tuya-smart-ir-ac/assets/143360565/925652e4-9798-4aa0-b00d-8168ac784f24

— Reply to this email directly, view it on GitHub https://github.com/DavidIlie/tuya-smart-ir-ac/issues/4#issuecomment-2069573801, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLD2DBG65OVNHNPK6ZI6UTY6UKNTAVCNFSM6AAAAABGSZTYVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGU3TGOBQGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Great-Slider commented 2 months ago

Thank you! Will merge this code to the main repository On Mon, Apr 22, 2024 at 3:06 PM Great-Slider @.> wrote: and i solved need add some code like this image.png (view on web) https://github.com/DavidIlie/tuya-smart-ir-ac/assets/143360565/925652e4-9798-4aa0-b00d-8168ac784f24 — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLD2DBG65OVNHNPK6ZI6UTY6UKNTAVCNFSM6AAAAABGSZTYVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGU3TGOBQGE . You are receiving this because you are subscribed to this thread.Message ID: @.>

what about ? Entity None (<class 'custom_components.tuya_smart_ir_ac.climate.TuyaThermostat'>) implements HVACMode(s): cool, heat, auto, fan_only, dry, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'tuya_smart_ir_ac' custom integration

SabatoArdolino commented 1 month ago

There is new version of project ? Because in this version, in my scenario, not work the HVACMode. The AC going only in deum. mode