When I put the board on deep sleep (e.g,: deep_sleep.enter), PN532 chip can be left in a state where it consumes too much power (around 20 - 40 mA). I have traced the issue to the fact that, before entering deep sleep, the chip is not properly powered down and can be left with the RF field on waiting for a tag.
The problem
When I put the board on deep sleep (e.g,: deep_sleep.enter), PN532 chip can be left in a state where it consumes too much power (around 20 - 40 mA). I have traced the issue to the fact that, before entering deep sleep, the chip is not properly powered down and can be left with the RF field on waiting for a tag.
Which version of ESPHome has the issue?
2023.3.2
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
Indifferent
What platform are you using?
ESP32-IDF
Board
WT32-ETH01
Component causing the issue
pn532
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
I will link a PR tested with I²C, but will probably work with SPI as well.