I’m absolutely new to HomeAssistant, I want to do the following and need a general guidiance what the best way is to do…
I have a heater that can have sever states, e.g. “off”, “WarmWater”, “HeatingAndWarmWater”,…
I can set it from command line (I guess, I should use “Command line switch”) like this: heatercommand setMode State1
or heatercommand setMode State2
I can also get the state like heatercommand getMode
So, what is the best way to present a switch in the Frontend that show all three states?
I think about 3 Switches that show one as “on” and the other two as “off” and toggle when one is switched. Should I use automation to do that? Using a template switch? Or a script?
Maybe someone has an example.
Or, is there another way to do implement a 3 state switch?