#MQTT and template sensor for temperature - different history charts

1 messages · Page 1 of 1 (latest)

strange stream
#

I have 2 entities for temperature. One from MQTT integration, from Sonoff humidity&temp sensor and another is a min_max sensor for an average of several temperature sensors. During the history view, they are in a different charts so it is harder to compare them.

I understood the measurement type is the one that "decides" if charts are grouped or not. But I must be failing something. My configuration for min_Max sensor is below and the MQTT sensor is on the picture

- platform: min_max
  unique_id: home_indoor_average_temperature
  name: Average Home Indoor temperature
  type: mean
  round_digits: 1
  entity_ids:
    - sensor.sensor_1
    - sensor.sensor_2
    - sensor.sensor_n

Edit: wrong title. It is not template, it is min_max sensor.

dusty elm
#

Should be able to use customize: in your config to match the device_class. Assuming your living room temp sensor is device_class: temperature

strange stream
#

I cannot set the device_class to the min_max platform. I'd need to likely encapsulate it in the template sensor, no?

#

customize might work, let me try!

dusty elm
#

I cannot set the device_class to the min_max platform.
Can be done through customize

strange stream
#

it works with customize. Thanks!