My head hurts

Hi, been using HA for a while now and i love it. Got a lot done and normaly i can find a solution to whatever im trying to do. That said i still have a little thing where i cannot find a solution for and its bugging me like hell becouse i think it must be something realy simple.

Here is have 2 switches Lamp woonkamer 1 and lamp woonkamer 2.
Lamp Woonkamer 1 is added with a Zwave device
Lamp Woonkamer 2 is added with a KAKU device

Is there a way i can make the switch.lamp_woonkamer_2 show the same toggle as i have for switch.lamp_woonkamer_1 instead of the on/off lightning thingys?

After looking for some time now i feel like it have to define a class to the switch but i havent gotten it to work yet. Can somebody please put me in the right direction?

Thank you.

Add this to your customize.yaml

switch.lamp_woonkamer_2
  assumed_state: false
  

Do what @pollinolas said, but set it to true, not false. Your 2nd switch must not return a state, which is why it’s the lightning bolts. If the switch has a state, it knows how to set the toggle.

switch.lamp_woonkamer_2:
  assumed_state: true

I tried both. although i find it strange to put it to true becouse it already has that value. none the less i tried it. and right now i have it set to false and i apear to have a toggle :smiley:
I think it put the assumed state there becouse a kaku device is a “dumb” device. it doesnt report its current state it just listens to commands.
Thank you both for help.
I knew it had to be something simpel :smiley:

1 Like

That is exactly the reason, as petro pointed out.

Beware that because your device does not report its state if it is changed by something other than Home Assistant (manually, remote control etc…) it will get out of sync with the state assumed by Home Assistant.

I am aware of that. is the reason why i hide the remote from the rest of the family :smiley:
It has been going well for the last year or so. the rest is also to laisy to even touch the thing they just yell “hey google” all the time haha
Thanks for the headsup though. one of these days i will replace those with something better just to be sure.