wmalgadey / tado_component

Custom home-assistant component for tado (using PyTado)
GNU General Public License v3.0
12 stars 1 forks source link

A better display of the operation mode names #2

Closed wmalgadey closed 7 years ago

wmalgadey commented 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__"
}
wmalgadey commented 7 years ago

fixed with https://github.com/wmalgadey/tado_component/commit/a759a2d89c17a51a6f42cacbeb60cccca73a0e74