To use, add according to the following example to your configuration.yaml
file:
thermal_comfort:
- custom_icons: true # global option for the entry
sensor:
- name: Living Room
temperature_sensor: sensor.temperature_livingroom
humidity_sensor: sensor.humidity_livingroom
custom_icons: false # override entry option for sensor
unique_id: 2f842c63-051a-4c49-9da2-4f04ee677514
- name: Bathroom
poll: true
temperature_sensor: sensor.temperature_bathroom
humidity_sensor: sensor.humidity_bathroom
sensor_types:
- absolute_humidity
- heat_index
- dew_point_perception
unique_id: 11adccb5-5029-4d26-bbec-c1b45910c27c
- name: Bedroom
…
- sensor_types
list
(optional)
- A list of sensors to create. If omitted all will be created. Available sensors
- poll
boolean
(optional, default: false)
- Set to true if you want the sensors to be polled. This can avoid double calculated values if your input sensors split change updates for humidity and temperature.
- scan_interval
boolean
(optional, default: 30)
- If polling is enabled this sets the interval in seconds.
- custom_icons
boolean
(optional, default: false)
- Set to true if you have the custom icon pack installed and want to use it as default icons for the sensors.
- name
string
(optional)
- Name of the sensor will be used both for the friendly name and entity id combined with the sensor type. e.g. Kitchen would get your `sensor.kitchen_absolutehumidity` and Kichten Absolute Humidity.
- temperature_sensor
string
REQUIRED
- ID of temperature sensor entity to be used for calculations.
- humidity_sensor
string
REQUIRED
- ID of humidity sensor entity to be used for calculations..
- icon_template
template
(optional)
- Defines a template for the icon of the sensor.
- entity_picture_template
template
(optional)
- Defines a template for the entity picture of the sensor.
- unique_id
string
REQUIRED
-
An ID that uniquely identifies the sensors. Set this to a unique value to
allow customization through the UI.
Make sure this is a unique value. Home assistant uses this internally and you will not see it in the frontend. A good tool to get a unique value is the `uuidgen` command line tool or your can use a online uuid generator
Internally we add the sensor type name to the unique id you set for each sensor. e.g. with a unique id of `0ee4d8a7-c610-4afa-855d-0b2c2c265e11` for a absolute humidity sensor you would get `0ee4d8a7-c610-4afa-855d-0b2c2c265e11absolute_humidity`.