MQTT sensor with multiple attributes

I’m trying to add my RuuviTag as MQTT sensor. I have installed Node-RED to collect my data and send them to mosquitto.

Data looks like this:

indoor/measurements {"humidity":20.5,"temperature":21.64,"pressure":99240,"accelerationX":-29,"accelerationY":21,"accelerationZ":1035,"battery":2977,"mac":"f7:9c:3e:f8:77:10"}
outdoor/measurements {"humidity":80,"temperature":-18.57,"pressure":99414,"accelerationX":-1,"accelerationY":23,"accelerationZ":-1017,"battery":2899,"mac":"e5:e8:da:24:0d:e3"}
outdoor/measurements {"humidity":80,"temperature":-18.57,"pressure":99414,"accelerationX":3,"accelerationY":21,"accelerationZ":-1015,"battery":2905,"mac":"e5:e8:da:24:0d:e3"}
indoor/measurements {"humidity":20.5,"temperature":21.64,"pressure":99240,"accelerationX":-28,"accelerationY":21,"accelerationZ":1033,"battery":2977,"mac":"f7:9c:3e:f8:77:10"}
sauna/measurements {"humidity":64,"temperature":-12.2,"pressure":99159,"accelerationX":-409,"accelerationY":-210,"accelerationZ":-971,"battery":2899,"mac":"d1:a2:9b:6d:07:92"}

I made a new sensor:

  - platform: mqtt
    state_topic: 'indoor/measurements'
    name: 'Indoor'
    unit_of_measurement: '°C'
    value_template: '{{ value_json.temperature }}'
    json_attributes:
      - temperature
      - humidity
      - pressure
      - battery

Problem is that I can set “unit_of_measurement” for only one value. Other values are just values and I can’t display them in HA correctly. I would like to get everything under one sensor, so I wouldn’t need to make seperate sensors for temperature, humidity and pressure.

sensori