remote_receiver: 
  pin: GPIO32 
  dump: all 
 
binary_sensor: 
  - platform: remote_receiver 
    name: "raw Remote Input" 
    raw: 
      code: [4088, -1542, 1019, -510, 513, -1019, 510, -509, 511, -510, 1020, 
             -1020, 1022, -1019, 510, -509, 511, -510, 511, -509, 511, -510, 
             1020, -1019, 510, -511, 1020, -510, 512, -508, 510, -1020, 1022, 
             -1021, 1019, -1019, 511, -510, 510, -510, 1022, -1020, 1019, 
             -1020, 511, -511, 1018, -1022, 1020, -1019, 1021, -1019, 1020, 
             -511, 510, -1019, 1023, -1019, 1019, -510, 512, -508, 510, -511, 
             512, -1019, 510, -509] 
 
code里面改成你录的代码 |