-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve hvac_mode compytibility of vicare
Viessmann devices can have varying vicare_modes. This integration maps hvac_modes to vicare_modes without even checking if those vicare_modes are available. This PR improves the situation by a) checking if the vicare_mode for the desired hvac_mode actually exits b) providing only the hvac_modes that are actually supported (meaning: a matching vicare_mode exists) c) Defining an order of vicare_modes that should be used for a given hvac_mode. Example for c): HVACMode.OFF should be VICARE_MODE_FORCEDREDUCED if supported. If not it should be VICARE_MODE_OFF or VICARE_MODE_DHW
- Loading branch information
1 parent
92a30a6
commit 2c8d183
Showing
1 changed file
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters