Unable to find component input_number

So I was trying to add a slider today and when I ran test config I got

ERROR (MainThread) [homeassistant.loader] Unable to find component input_number
ERROR (MainThread) [homeassistant.setup] Setup failed for input_number: Component not found.

Here is the component as it shows in the main configuration file.

input_number:
  master_ceiling_light:
    name: Master Ceiling Fan
    min: 0
    max: 100
    step: 5
    unit_of_measurement: step  

I dont know why it cant find it??

Are you on HA 0.55.0 ?

Running HA 0.54.0

Then you have to use input_slider or update to 0.55.0 where the component has been renamed to input_number.
From the Breaking Changes for 0.55.0:

Renamed input_slider to input_number which has now a numeric text box option. (@BioSehnsucht - #9494) (demo docs) (input_number docs) (breaking change)

Thanks for the clarification, I was misled on the component page where it says was “Introduced in release 0.16” I thought that meant HA version

Ah, yeah it’s rare that a component is renamed, so there’s not any kind of standardized notation to tell you that it was formerly called something else. The original input_slider has been around since 0.16, and it’s basically the same thing with a new name and added options… perhaps the docs should have clarified that.

1 Like