Hi all,
I’m reaching you to kindly ask your help.
I’m newbie of Home Assistant and I’m trying to configure a Light Switch item.
I have some Light with remote control (and via Broadlink).
I correct configure the light switch but the turn on/off light doesn’t match with the real state of the light.
Could you please help me to solve this issue?
I will appreciate any help you can give me.
Many thanks in advance.
Roberto
Can you share your config?
Hi lolouk44,
You are right. My apologies.
- platform: broadlink
host: xxx.xxx.xxx.xxx
mac: 'AA:BB:00:CC:11:DD'
friendly_name: RMxxxx
- platform: broadlink
host: xxx.xxx.xxx.xxx
mac: 'AA:BB:00:CC:11:DD'
friendly_name: RMxxx
timeout: 15
switches:
studio_lightfan_on_off:
friendly_name: studio_lightfan_on_off
command_on: "AAAAABBBBBBBBCCCCCCCCC"
command_off: "AAAAABBBBBBBBCCCCCCCCC"
- platform: switch
name: lightfan_studio
entity_id: switch.studio_lightfan_on_off
Many thanks in advance.
I really appreciate.
Roberto
So do you mean you can control the lights from HA, but if you change the light state via the remote control (=outside of HA) the light state is not reflected in HA?
Correct.
The light is part of a ceiling fan. I have three ceiling fan controlled by three different broadlink (and/or a physical remote) and I have the same issue with all of them.
Is the above code correct?
Thanks,
Roberto
PS: Out of topic … is there any way to use the “Fan Control Entity Row” using Broadlink (I don’t think so because it creates three different switch)
That sounds about right. Pretty much all of my 433MHz lights and switches are one way only (so receive commands but do not broadcast their status)
The way round this would be to create a sensor that catches the command from the remote control and then to create a template light / switch / fan.
Use the sensor for its state and use the actual switch /light/fan for commands
Thank you so much again.
Much appreciated.