I am setting up a alarm system and are using one NodeMCU with a PN532 RFID reader to disarm the alarm. I am using ESPHome to interakt with the Device and that works like a charm
To make it easy for me, I am thinking of using one binary sensor for all approved tags. Is it possible? I havent found any example of that.
Would you please share your code? I would like to do something similar.
To answer your question, I think that what you need is setup all your tags as a separate binary sensor for each tag. Then you need to create a template binary sensor where you use a lambda value for it.
Thanks for the hint regarding using Template binary sensor for all tags. I will try it next time but first I have to fix the hard ware. Currently I have to weak signal strength in the garage for the module…