Currently “state_with_unit” shows a UoM when a sensor is “unavailable”:
This is why I am not using “state_with_unit”, have to compose an output dependently on a current state.
Suggest to not add UoM if a state is “unavailable”. Probably similarly an “unknown” should be processed.