Closed wmalgadey closed 7 years ago
I am using the tado constants. The code is easier to read but in the ui it is not so easy. We need a mapping table between mode names and tado constants
TADO_MODES = { "Smart Schedule" : "__SMART__", "Automatic Tado changes" : "TADO_MODE", "Manual change" : "MANUAL", "Reset after time" : "TIMER", "Frostschutz" : "__OFF__" }
fixed with https://github.com/wmalgadey/tado_component/commit/a759a2d89c17a51a6f42cacbeb60cccca73a0e74
I am using the tado constants. The code is easier to read but in the ui it is not so easy. We need a mapping table between mode names and tado constants