Closed dmcc closed 4 years ago
Hey, thanks for pointing this out! As of #49, I think this should not cause a crash for models where this particular mode is unsupported, so this is probably safe.
In the future, however, it would probably be better to expose these things as "presets" rather than "modes": https://developers.home-assistant.io/docs/core/entity/climate/#presets
Which are more free-form. There is a built-in "eco" preset for an energy saver mode.
Without this, certain models get this error:
Arguably,
AUTO
is the wrong mapping here, but it seemed like the best fit to me (the model in question has "energy saver", "cool", "dry", and "fan" modes).