2 Instance of Home Assistant, platform: homeassistant

Hello I have Two sensor for Home assistant, one on RPI4 and one on docker NAS synology
I should create my fist node with esphome from rpi4 and i fine tune up whith the instance on docker.
On my last project I use a epaper and i keep sensor from home assistant but it’s still be blanck ((Nan if i don’t use sensor has_state.
My question is how the node know with home assitant is needed to use ?
Thanks

Sorry your post doesn’t make a lot of sense.

Do you mean you have two instances of home assistant and you want an esphome device to show up on both?