Device specific configuration

The configuration.yaml allows to set device specific configuration. The following options are available.

All devices

Device specific

RTCGQ01LM, RTCGQ11LM and AV2010/22

RTCGQ01LM, RTCGQ11LM

Temperature, humidity and pressure devices

Example

devices:
  '0x00158d0001d82999':
    friendly_name: 'my_occupancy_sensor'
    retain: true
    occupancy_timeout: 20
    no_occupancy_since: [10, 600]
    qos: 1
    debounce: 0.5
    retrieve_state: false
    homeassistant:
      # Applied to all discovered entities.
      expire_after: 30
      # Only applied to discovered temperature sensor.
      temperature:
        icon: mdi:oil-temperature

Changing device type specific defaults

The default values used for the device specific configuration can be overriden via e.g.:

device_options:
  occupancy_timeout: 30
  temperature_precision: 1