How to assign area by entity instead of device

I’m using a single NodeMCU board with ESPhome to control binary sensors on 16 doors throughout my house. I’m able to add the device (NodeMCU board) to an area but the board has 16 entities, one for each door. How can I add each entity to its own area?

1 Like