I’m using HA version 0.117.5 with RFLink Integration.
I have one NEXA-Remote which can control all my lights in the house.
The remote has 4 Individual buttons and one Group-ON/OFF-button. The group button works great for controlling all the lights on or off.
But when I configure the 4 lights in HA, and press group on or off, HA does not treat this as a group command and change the state of all the lights.
It works great in both ways (to HA and from HA) for the individual buttons 1-4 but not for group.
My config for the lights/buttons are:
light:
- platform: rflink
automatic_add: true
devices:
newkaku_006d7076_1:
name: Main Button 1
group: true
newkaku_006d7076_2:
name: Main Button 2
group: true
newkaku_006d7076_3:
name: Main Button 3
group: true
newkaku_006d7076_4:
name: Main Button 4
group: true
When I press the group-button on the remote I get the following log:
[rflink.protocol] received data: 20;01;NewKaku;ID=006d7076;SWITCH=0;CMD=ALLON;
[rflink.protocol] got packet: 20;01;NewKaku;ID=006d7076;SWITCH=0;CMD=ALLON;
[rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '006d7076', 'switch': '0', 'command': 'allon'}
[rflink.protocol] got event: {'id': 'newkaku_006d7076_0', 'command': 'allon'}
[homeassistant.components.rflink] event of type command: {'id': 'newkaku_006d7076_0', 'command': 'allon'}
[homeassistant.components.rflink] entity_ids: []
So it’s clearly receiving the commands, but it does not connect the command to the lights 1-4.
As a reference, here is the log when I press button 3, which is affecting the button in the frontend.
[rflink.protocol] received data: 20;01;NewKaku;ID=006d7076;SWITCH=3;CMD=ON;
[rflink.protocol] got packet: 20;01;NewKaku;ID=006d7076;SWITCH=3;CMD=ON;
rflink.protocol] decoded packet: {'node': 'gateway', 'protocol': 'newkaku', 'id': '006d7076', 'switch': '3', 'command': 'on'}
[rflink.protocol] got event: {'id': 'newkaku_006d7076_3', 'command': 'on'}
homeassistant.components.rflink] event of type command: {'id': 'newkaku_006d7076_3', 'command': 'on'}
[homeassistant.components.rflink] entity_ids: ['light.main_button_3']
[homeassistant.components.rflink] passing event to light.main_button_3
I see that there is a difference in the log, that the event is forwarded to main_button_3.
What am I missing ? How can I make HA understand that the lights are a part of the NEXA-group?
I have tried to find an example of this config but have not found any good example.