I’m working with a lot of COCO peripherals. Based on this topic I assume that there is no specific implantation for remotes such as:
Sensors, lights and switches are available in the RFXtrx component. But what about remotes?
I’m trying to enable a scene, for example, with a remote such as the above. I’m implementing the ‘remotes’ in my default wall switches as a physical switch sometimes is faster than my mobile.
I’m struggling with HASS code as:
alias: Woonkamer scene aanzetten trigger: platform: event event_type: button_pressed event_data: {"entity_id": "switch.multipulse"} action: service: scene.turn_on entity_id: scene.woonkamer_verlichting
But I’m missing the ‘on’ or ‘off’ property to work with.
When I’m sending a on signal the console shows me (using Github code):
Recv: 0x0b 0x11 0x00 0x12 0x00 0x30 0x43 0xee 0x02 0x01 0x0f 0x60 <class 'RFXtrx.ControlEvent'> device=[<class 'RFXtrx.LightingDevice'> type='AC' id='03043ee:2'] values=[('Command', 'On'), ('Rssi numeric', 6)]
Off signal:
Recv: 0x0b 0x11 0x00 0x13 0x00 0x30 0x43 0xee 0x02 0x00 0x00 0x60 <class 'RFXtrx.ControlEvent'> device=[<class 'RFXtrx.LightingDevice'> type='AC' id='03043ee:2'] values=[('Command', 'Off'), ('Rssi numeric', 6)]
I hope my request is useful to further develop Home Assistant.
Please let me know if I missed something in the documentation (but I couldn’t find event type button_pressed for example) or in this community.