Dynamic update input_number icon

Hi all,

I want to dynamically update the icon of a input_number object, is this possible?

It does not have the icon_template property.

Many thanks in advance!

I don’t think this is possible through normal conventions. You’d need to make a custom panel or use a template sensor as your changing icon:

Thanks, I will try it this evening

Hi all,

Any update on this, I was making a new integration today and hit the same issue again.
Was unable to solve it in a simple way last time.

Is it possible to dynamically update the icon of a input_number object.

I noticed it only has the icon property and not the icon_template property.
Could this be added to this object? Where can I put this request?

Would be great to have this so the object would be more in line with most other objects in HA :slight_smile:

You can do it with the Custom UI, assuming you are using the old interface. I was incorrect with linking custom panel in my previous post.

Thanks, I will read up on the custom UI feature