Example:
homeassistant_sensor_humidity_percent{domain="sensor",entity="sensor.shellyht_XY_humidity",friendly_name="shellyht-XY humidity"} 61.0
homeassistant_sensor_temperature_celsius{domain="sensor",entity="sensor.shellyht_XY_temperature",friendly_name="shellyht-XY temperature"} 21.75
This makes it "impossible" to calculate with these values because there is no common label but the metrics are both from the same device.
I would expect sth. like:
homeassistant_sensor_humidity_percent{domain="sensor",device="sensor.shellyht_XY",entity="sensor.shellyht_XY_humidity",friendly_name="shellyht-XY humidity"} 61.0
homeassistant_sensor_temperature_celsius{domain="sensor",device="sensor.shellyht_XY",entity="sensor.shellyht_XY_temperature",friendly_name="shellyht-XY temperature"} 21.75
So that I can use a clean and simple PROMQL to calculate with these values.
(No, just because the device-name is part of the entity the case cannot be closed ;-))