Wth: Why can't I have a generic entity controlled with a slider

I’ve written an integration for a fireplace and one of the components is a flame height object. To the best of my knowledge there is not a component (other than a fan) that will allow me to control the flame height.

I’ve implemented it as a service call but it would be nice for my users to have a bar they could drag or a button to click up/down to change the flame height.

Make a number entity.