Restrict light and cover entities min-max value

It would be beneficial if we could limit min and max values for the light and cover entities in a way that when changing values on the front end, 100% would be determined by max value and 0% would be determined by min value.