Hi, I’m looking for some tips how to make template sensor measurements less frequent. I have Xiaomi Air Purifier which also has temperature and humidity sensors and I would like to use them to monitor those values during the day.
Unfortunately, due to the low sensitivity of these sensors, the measurement can often change between two values:
Is there any way to limit the frequency of the sensor check?
Current configuration for this sensor is
sensor:
- platform: template
sensors:
humistat_bedroom:
friendly_name: "Bedroom humidity"
unit_of_measurement: '%'
value_template: "{{ states.fan.xiaomi_air_purifier_2.attributes.humidity | int }}"