Help with switch on/off method

Hi there.
I’m a new user, and I must confess I have spent hours and hours and still didn’t get how this works…anyways.

I have some devices, receiver, TV, cable box, all with on/off buttons working fine (I use broadlink rm pro). My issue is, I just want to change the method of turning on and off… I want to remove the lightning icons and then add a simple button, exactly like the pics:

Thank you in advance

ps: I’ve seen similar posts but with fragments of codes, and then they didn’t help me.


code1

in your customize.yaml file, put the following:

switch.tv_lg_sala:
  assumed_state: false

and so forth for other switch entities needing the same treatment

thank you very much!!

I didn’t have the customize.yaml file, so I had to create it, and then followed your steps… but still, it wasn’t working. Why not? Because I had to create the reference:

homeassistant:
customize: !include customize.yaml

working fine!!

thanks!

no worries, glad you got it sorted