dolezsa / thermal_comfort

Thermal Comfort sensor for HA (absolute humidity, heat index, dew point, thermal perception)
Other
590 stars 110 forks source link

Feature request: Make type of generated sensors available in configuration #7

Closed monotonus closed 2 years ago

monotonus commented 4 years ago

It would be good if the four generated sensor type would be able to select while configuring the sensor on per sensor basis. As for me I just need the absolute humidity values. So for now I just commented the other three sensors out of the sensor.py to save space in the database:

SENSOR_TYPES = { 'absolutehumidity': [DEVICE_CLASS_HUMIDITY, 'Absolute Humidity', 'g/m³']#,

'heatindex': [DEVICE_CLASS_TEMPERATURE, 'Heat Index', '°C'],

#'dewpoint': [DEVICE_CLASS_TEMPERATURE, 'Dew Point', '°C'],
#'perception': [None, 'Thermal Perception', None],

}

This means it's globally deactivated. Would be good to select them for e.g. each room.

d3m3trius commented 3 years ago

check https://github.com/d3m3trius/thermal_comfort

rautesamtr commented 2 years ago

@d3m3trius why not do a PR?