ok, i have some switches setup, to control myl lights, i have configuted those switchs as command line switches
i need to send some kind of hexadecimal code to an IP contoller to turn on the light
this is setup and working
so controlling the lights from HA is working fine
but if i turn on the light from outside HA, just with a dumb switch on the wall, i want to change the state of the switch offcourse, without actually sending the ON/OFF command;
so this is command is working
curl -k POST -d '{"state": "on"}' https://127.0.0.1:8123/api/states/switch.light1?api_password=xxx
but if i do that, the name of the light also changes, and also the switch becomes a boolean, see here a screenshot before and after …
how can i fix that?