argaar / comfortable-environment-card

A card to display the Heat Index and Discomfort Index (aka Thom Index)
MIT License
54 stars 18 forks source link

Propose sensors with matching class first in config #5

Closed GaPhi closed 11 months ago

GaPhi commented 11 months ago

Configuration should propose the sensors of the matching class first for temperature and humidity :

state_class: measurement
unit_of_measurement: °C
attribution: Data provided by Météo-France
device_class: temperature
friendly_name: Location Temperature

Here, there is a device_class === "temperature" attribute to identify matching sensors, there is also one for humidity...