lightwaverf:
  read_pin: 5
  write_pin: 4

button:
  - platform: template
    name: "Turn off sofa"
    id: light_off_ceiling_sofa
    on_press:
      lightwaverf.send_raw:
        code: [0x04, 0x00, 0x00, 0x00, 0x0f, 0x03, 0x0d, 0x09, 0x08, 0x08]
        name: "Sofa"
        repeat: 1
