Dashboard input_number - widget definition not found

Hello,

I am adding a new dash to display lights. The lights came up ok but the input_number widgets are throwing a “widget definition not found” error. The input_numbers are fine in HA.

**

Main arguments, all optional

title: LED Strip Lighting
widget_dimensions: [200, 200]
widget_margins: [40, 40]
columns: 7

ledstrip_1:
widget_type: light
entity: light.ledstrip_1
title: RGB Led Strip 1
on_attributes:
brightness: 100
rgb_color: 128, 34, 56

ledstrip_2:
widget_type: light
entity: light.ledstrip_2
title: RGB Led Strip 2
on_attributes:
brightness: 100
rgb_color: 128, 34, 56

ledstrip_3:
widget_type: light
entity: light.ledstrip_3
title: RGB Led Strip 3
on_attributes:
brightness: 100
rgb_color: 128, 34, 56

animation_speed_1:
widget_type: input_number
entity: input_number.ledstrip_1_animation_speed
title: Animation Speed 1
title2:

animation_speed_2:
widget_type: input_number
entity: input_number.ledstrip_2_animation_speed
title: Animation Speed 2
title2:

animation_speed_3:
widget_type: input_number
entity: input_number.ledstrip_3_animation_speed
title: Animation Speed 3
title2:

layout:

  • ledstrip_1, ledstrip_2, ledstrip_3
  • animation_speed_1, animation_speed_2, animation_speed_3

And the section from my my configuration.yaml

  ledstrip_1_animation_speed:
     name: Ledstrip 1 Animation Speed
     initial: 150
     min: 1
     max: 150
     step: 10
     
  ledstrip_2_animation_speed:
     name: Ledstrip 2 Animation Speed
     initial: 150
     min: 1
     max: 150
     step: 10
     
  ledstrip_3_animation_speed:
     name: Ledstrip 3 Animation Speed
     initial: 150
     min: 1
     max: 150
     step: 10

Bleary-eyed and not getting anywhere. Anyone have an answer?

If you are running version 2.x of AppDaemon try a widget type of input_slider.

http://appdaemon.readthedocs.io/en/stable/DASHBOARD_CREATION.html?highlight=input_slider#input-slider

In 3.0 there is the classic input_slider, and also a new input_number widget. They both do the same but look different.