h4de5 / home-assistant-toshiba_ac

Toshiba AC integration into home-assistant.io
GNU General Public License v3.0
113 stars 17 forks source link

Warning in homeassistant logs #173

Open albaintor opened 4 months ago

albaintor commented 4 months ago

Hi,

The homeassistant logfile at startup reports the following warning : 2024-02-18 20:40:52.805 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.toshiba_ac.climate.ToshibaClimate'>) implements HVACMode(s): off, auto, cool, heat, dry, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/h4de5/home-assistant-toshiba_ac/issues Thank you

janipewter commented 3 months ago

I think this is because HA offers an on/off toggle for the device, but there is no command for this in the A/C, you have to explicitly select a mode (heat, cool, dry, fan only) to turn it on.

simokivimaki commented 2 months ago

This is most likely about this requirement: https://developers.home-assistant.io/blog/2024/01/24/climate-climateentityfeatures-expanded/.