I understand that the group integration doesn’t support all domains:
It is possible to create a group that the system cannot calculate a group state. Groups with entities from unsupported domains will always have an unknown state.
But thought it would be cool if it could merge some of the functionality of the min/max integration.
What I like about the group integration over the min/max is that I can get a breakdown of each sensor value when clicking on the group.
It would be really nice for combining illuminance sensors.
In the mean time, you can do that with template sensor like this:
- sensor:
- name: "Max illuminance"
unique_id: "max_illuminance"
unit_of_measurement: "lx"
state: >
{% set hallway = states('sensor.hallway') | int %}
{% set kitchen = states('sensor.kitchen') | int %}
{{ max(hallway, kitchen) }}
Restart the home assistant, look up the entity id and paste it into your automation. By default it probably would not show up in the dropdown list (in case you’re using a blueprint)