Group Sensors in one device

i have Aqara Multisensors for Temp Humi and Pressure.
They are connected to Hassio over Deconz.

The Problem is that every Value is a separate device. so this one sensor is split in 3. is there a way to bundle them into one? for later connection to Alexahome bridge and Lovelace

You could create a template sensor where the state is the temperature and the state attributes are humidity and pressure, but I’m not sure how that would import to Alexa home.

What do you want to do differently in Lovelace? It looks like the glance card that you’re using is probably the best solution.

I looked at the template sensors but don’t understand it.

sensor:
  - platform: template
    sensors:
      Temp_Wohnzimmer:
        friendly_name: "Temp Wohnzimmer"
        unit_of_measurement: 'celsius'
        value_template: "{{ state_attr('sensor.temp_badezimmer_3', 'temperature') }}"
        attribute_templates:
          humidity: "{{ state_attr('sensor.temp_badezimmer', 'humidity') }}"
          pressure: "{{ state_attr('sensor.temp_badezimmer_2', 'pressure') }}"

I think that’s wrong

You’re close. Should be like this (apply the syntax to all templates):

"{{ states('sensor.temp_badezimmer') }}"

You also might need to make Temp_Wohnzimmer lowercase.


i don’t get it. I get no notification or error for this when I restart Hassio and I don’t find the sensor.

EDIT: temp_tohnzimmer :smiley: no wonder that I don’t find it under temp_wohnzimmer :smiley: