Skip to content

Latest commit

 

History

History
80 lines (76 loc) · 3.56 KB

yaml.md

File metadata and controls

80 lines (76 loc) · 3.56 KB

YAML Configuration

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
    - name: Bathroom
      poll: true
      temperature_sensor: sensor.temperature_bathroom
      humidity_sensor: sensor.humidity_bathroom
      sensor_types:
        - absolute_humidity
        - heat_index
        - thermal_perception
    - name: Bedroom

Sensor Configuration Variables

Sensor Options

sensor_types list (optional)
A list of sensors to create. If omitted all will be created. Available sensors: absolute_humidity, heat_index, dew_point, thermal_perception, frost_point, frost_risk, simmer_index, simmer_zone
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.

Sensor Configuration

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 (optional)
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`.