Input Group and Tab as topic into all ellements

Can you add the functionality to get the Group and Tab Parameter for all the UI Elements as msg.topic.

For example I have a tab livingroom with a group sensors. Here I want to update the temperatur. So I want to update it with whe msg:

msg:{
    payload: 15,
    topic: livingroom_sensors
}