Input_nuber configurations in folder

It is possible to put input_number yaml files in one folder like sensor and switches?

I try like this, but not working:

input_number: !include_dir_merge_list components/input_number

Yes you can. Did you remove the “input_number:” in the files in the input_number folder and did you create the input_numbers as a list?
Could you please show one of the files in the folder input_number?

try this:

input_number: !include input/input_number.yaml

and create a directory callend input. put your input_number.yaml inside that.

This will also work, but it is not the same way as OP asked, so I’m not sure if this will be ok for him.

There is a file:

####################################################
## INPUT NUMBER - ENERGY COSTS
####################################################
#https://www.home-assistant.io/components/input_number/
# 10.12.2019
##
  bathroom_wash_and_dry_daily_cost:
    mode: box
    min: 0
    max: 100
    unit_of_measurement: "EUR/day"
    icon: mdi:currency-eur
##
  bathroom_wash_and_dry_energy_cost:
    mode: box
    min: 0
    max: 100
    unit_of_measurement: "EUR/kWh"
    icon: mdi:currency-eur
##
  hallway_climate_daily_cost:
    mode: box
    min: 0
    max: 100
    unit_of_measurement: "EUR/day"
    icon: mdi:currency-eur
##
  hallway_climate_energy_cost:
    mode: box
    min: 0
    max: 100
    unit_of_measurement: "EUR/kWh"
    icon: mdi:currency-eur
##
  cumulative_energy_cost:
    mode: box
    min: 0
    max: 5000
    unit_of_measurement: "EUR"
    icon: mdi:currency-eur
##
####################################################
## END
####################################################

Then use an named merge not a list merge.
Like this:
input_number: !include_dir_merge_named components/input_number

Now is working thanks. :wink:

For more info and examples check out this: