mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
* Integrate suggestion in #5590 by nordlead2005. This change has been sitting in limbo for over a month, but it is a good idea. I don't mean to step on nordlead2005's toes, but we need to make progress. * Use defined constant for TEMPERATURE_HOLD * Integrate handling of vacation into hold mode. Canceling vacation hold requires an update to the external pyecobee library. Creation of vacation is not supported (it would be straightforward in the code, but a complex user interface would be required, similar to what is now done in the ecobee thermostat). * Add capability to retrieve list of defined climates from ecobee. * The mode() method used to return the system mode in internal representation. However, the user sees a different notation in the ecobee thermostat. Seeing some internal name is particularly weired with user-defined climates, where these are named "smart1", "smart2", etc., instead of the name the user has defined. Return the user-defined name instead. This change might break some user interfaces but is easily remedied (e.g., use "Away" instead of "away"). * Simplify is_away_mode_on(). * Correction of erroneously indented else statement. * Change comment as flake8 gets confused.