The Min/Max integration consumes the state from other sensors to determine the minimum, maximum, latest (last), mean and median of the collected states.
The sensor provided by this integration will always show you the lowest/highest/latest value which was received from all monitored sensors. If you have spikes in your values, it’s recommended to filter/equalize your values with a statistics sensor first.
If the source sensor provides an unknown state, it will be ignored in the calculation. If the unit of measurement of the sensors differs, the Min/Max sensor will go to an error state where the value is
UNKNOWN and unit of measurement is
Adding Min/Max to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the sidebar click on Settings.
From the configuration menu select: Devices & Services.
In top of the screen click the tab: Helpers.
In the bottom right, click on the Create helper button.
From the list, search and select “Min/Max”.
Follow the instruction on screen to complete the set up.
At least two entities to monitor. All entities must use the same unit of measurement.
Alternatlively, this integration can be configured and set up manually via YAML
instead. To enable the Integration sensor in your installation, add the
following to your
# Example configuration.yaml entry sensor: - platform: min_max entity_ids: - sensor.kitchen_temperature - sensor.living_room_temperature - sensor.office_temperature
At least two entities to monitor. The unit of measurement of the first entry will be the one that’s used. All entities must use the same unit of measurement.