Sonoff RF ID Code

Hello,

I recently purchased a sonoff switch with rf. First of all i use rfxtrx manager to simulate a switch code, and is working without problem.
Now I want “import” this code to hassio but i’m a bit confused. The result of the code is the following:

Packettype    = Lighting4
subtype       = PT2262
Sequence nbr  = 13
Code          = 800000 decimal:8388608
S1- S24  = 1000 0000 0000 0000 0000 0000 
Pulse         = 350 usec
Signal level  = +10 dBm

I have created the device id ‘09130000800000017A70’, but it seems that is only switching with the “off” button not the “lightning” button, what I’m doing wrong?

Thanks