I have read numerous posts about this. Tested many codes suggestions but still not getting a definite answer. Can it be done?
In HA 0.106.1
The most common code I get is this but not giving the expected result
It was never supported in core HomeAssistant using customize.yaml. I believe you are mixing up core functionality with CustomUI (which is largely broken now).
This is weird… It must have worked at some point. I have several of them in my customize and I distinctly remember one working fine on a picture lovelace card. I don’t recall ever having to install CustomUI either, but then I did visit the git page in July…
Mirroring a switch<->input_boolean still works. Just use the switch in your dashboard.
I still hate I need these extra switches for this simple UI enhancement.