RfLink 433 MHz Two-way Door/Window Sensors

Hi,

I just received some of these cheap 433 MHZ Door/Windows Sensors from AliExpress:

Golden Security 2ps/lot 433MHz Wireless Door/Windows Sensors Two-way Magnetic Door Sensor for G90B plus Security Alarm System

I am using HA version 0.62.1 on macOS with the (latest) RFLink R48.

Is there an elegant way to integrate door sensors that are using different IDs for opening an closing?

Extract from my home-assistant.log (I simulated open and close):

2018-02-06 07:26:29 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'ev1527_0d94d0_0a', 'command': 'on'}
2018-02-06 07:26:29 DEBUG (MainThread) [homeassistant.components.rflink] event of type command: {'id': 'ev1527_0d94d0_0a', 'command': 'on'}
2018-02-06 07:26:30 DEBUG (MainThread) [rflink.protocol] got event: {'id': 'ev1527_0d94d0_0e', 'command': 'on'}

The integration as two seperate switches is working. But what I want to achieve is a single (binary) sensor (open/closed). I’ve read some threads, but since I’m a HA rookie, I’m more confused now.

I look forward to your contributions.

Cheers,
Eric

Any luck for those sensors ? I want to buy an alarm system that include those sensors, did you managed to make it work in Home Assistant ?