Alternate Frontend Control for Input Number?

Hi, I have an Input Number helper that I use to control a temperature threshold that is used in a number of automations. I’m not particularly happy with the default slider UI for adjusting its value. Is anyone aware of alternative controls that can be implemented? My ideal would be more of a stepper type control with up/down or plus/minus buttons and the current value, similar to the detail view you get on the Climate entity.

You can use a input select that way you can define the steps.

Or you have to code something. I have done that to my guest boolean timer date time thingy.
You add a boolean with the name “plus” and when plus is “on” you take the value + step and turn off boolean “plus” again.
Optionally you add that to a picture entity card to make it pretty.

I do this with the custom button card.

Auswahl_406

Three buttons in a horizontal-stack.

cards:
  - hold_action:
      action: call-service
      repeat: 200
      service: input_number.increment
      service_data:
        entity_id: input_number.temp_test
    icon: 'mdi:arrow-up-bold-outline'
    size: 37%
    tap_action:
      action: call-service
      service: input_number.increment
      service_data:
        entity_id: input_number.temp_test
    type: 'custom:button-card'
  - entity: input_number.temp_test
    name: Temp
    layout: icon_name
    show_state: true
    styles:
      state:
        - font-size: 26px
        - color: var(--primary-color)
    type: 'custom:button-card'
  - hold_action:
      action: call-service
      repeat: 200
      service: input_number.decrement
      service_data:
        entity_id: input_number.temp_test
    icon: 'mdi:arrow-down-bold-outline'
    size: 37%
    tap_action:
      action: call-service
      service: input_number.decrement
      service_data:
        entity_id: input_number.temp_test
    type: 'custom:button-card'
type: horizontal-stack
1 Like

Coincidence :slightly_smiling_face:

Wow, crazy timing! Also, thanks for your example above, that was the direction I was going to head, but will check out this first!