What you want to do is not possible using HA core functionality. You can vote here for the feature to be added:
You can probably work around this (in the dashboard only) with this: