Input_slider -> input_number

I’m finally getting around to looking into the input_slider breaking change in 0.55

If you are looking for a quick one-liner to search and replace, this worked for me from my .homeassistant main directory:
find . -iname "*.yaml" -exec sed 's/input_slider/input_number/g' {} \; | grep -i input_number

If the output looks good:
find . -iname "*.yaml" -exec sed -i 's/input_slider/input_number/g' {} \;

Hopefully that helps others looking for a quick find and replace option from the command line.

-Chad

3 Likes