I have a question about the section Device specific configuration on zigbee2mqtt.io.
I’m not sure how where to apply the example used in this section.
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
Do I have to apply this on each Xiaomi Occupancy sensor? Or do I have to apply it to the general part of the configuration.yaml file?