Permanently Changing Slider to Input Box

Hello Everyone

I have a GivEnergy inverter and it is running GivTCP which allows me to change settings on the inverter.
When it discovered the entities via MQTT, most of the inputs are sliders. This isn’t very good as when I am scrolling down on my phone, I accidentally edit one of them. Its also hard to change the sider accurately.

I can go to developer tools and change the attribute mode to box, but it doesn’t persist.
image

For one or two entities I have an automation that when you enter in a number in a box it changes the slider. Not exactly ideal.

Is there a way of being able to en mass permanently change these to input boxes?

Any help appreciated!

Thanks!

Yes there is, https://www.home-assistant.io/integrations/homeassistant/#manual-customization

You could use customize_glob to change all input number / number entities with “battery” (or something more specific) in the entity_id to mode: box.

homeassistant:
  customize_glob:
    "input_number.*battery*":
      mode: box

## or this if they are number entities instead of input_numbers

    "number.*battery*":
      mode: box
1 Like

Perfect many thanks @tom_l worked a treat!

1 Like