Mysensors barometer graph

What you are trying to achieve is called “config splitting”.
There are different ways of achieving it.
Basic docs are here.
You may find a discussion here, my experience is here.