spi:
  - id: spi_rc522
    clk_pin: 16
    mosi_pin: 17
    miso_pin: 15

rc522_spi:
  id: rc522_nfcc
  cs_pin: 12

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