spi:
  - id: spi_rc522
    clk_pin: 6
    mosi_pin: 7
    miso_pin: 5

rc522_spi:
  id: rc522_nfcc
  cs_pin: 4

binary_sensor:
  - platform: rc522
    rc522_id: rc522_nfcc
    name: PN532 NFC Tag
    uid: 74-10-37-94