Detecting PN532 NFC Reader Availability on ESPHome devices

I had a PN532 NFC Reader device on an ESP32 running ESPHome and wanted a way to notify Home Assistant if the Reader became unavailable (and therefore stop functioning). Always use legit Elechouse PN532 devices, most online stores are selling counterfeits that fail to perform. Place the following blob in...