Input_slider not showing in HA

I have an input_slider that refuses to be seen. I have 4 others that work just fine. I need another set of eyes to take a look and help me see what I can’t see.

The input_slider section of my configuration.yaml. The last one ofhp1 refuses to show up. pictures at the bottom.

input_slider:
  dsp1hp_black:
    name: "black ink"
    initial: 0
    min: 0
    max: 100
    step: 1
  dsp1hp_cyan:
    name: "cyan ink"
    initial: 0
    min: 0
    max: 100
    step: 1
  dsp1hp_yellow:
    name: "yellow ink"
    initial: 0
    min: 0
    max: 100
    step: 1
  dsp1hp_magenta:
    name: "magenta ink"
    initial: 0
    min: 0
    max: 100
    step: 1
  ofhp1_black:
    name: "black Toner"
    initial: 0
    min: 0
    max: 100
    step: 1

The group for ofhp1 shows up, but with nothing inside

group.yaml file
    dsp1hp:
      view: no
      entities:
        - input_slider.dsp1hp_black
        - input_slider.dsp1hp_cyan
        - input_slider.dsp1hp_yellow
        - input_slider.dsp1hp_magenta
    ofhp1:
      view: no
      entities:
        - input_slider.ofhp1_black

it’s probably something simple, but I just can’t see it.
Thanks

what i do in those cases is delete all whitespace and make sure the right whitespace is there.

it seems like there is something going wrong in this part:

      entities:
        - input_slider.ofhp1_black

could be a TAB or another character not showing in the editor.

to make sure its not in the group.yaml, you could edit out the last group. the slider should show in your initial page. if thats true you can be sure its somthing in your groups.yaml

ok i’ll give it a try. One other bit of info, it passes hass --script check_config without any problems.

if the inputslider was wrong, the group shouldnt show up at all (unless that part is changed in the last few updates)
thats why i guess its something wrong in the groups.yaml

I think Rene is right; I looked at the groups code with one eye closed and it looks technically correct.

1 Like

I retyped everything last night for the subject sensor and groups, rebooted HA and it worked. Yaaaaa. Then I commented out an automation (in the automation.yaml file), rebooted HA (not the server) and the input_slider was gone again. LOL I just love consistency. I’ll keep digging to see what I can find.

2 Likes

Having the same issue here, with input_sliders not showing up. Tried renaming, confirming format is correct, moving to a different group. Nothing helps.

Same issue here!
I get
File “C:\Python\Python35-32\lib\site-packages\homeassistant\components\input_slider.py”, line 178, in async_added_to_hass
if value is not False and self._minimum < value < self._maximum:

I’ve been beta testing the new hadashboard and it displays the correct values for the slider consistently. Seems to be something in the HA display.

Sorry i found the issue.

I had missed off the “iinitial:” value, which will not give you an error, it will just not show up!

Only 1 ‘i’ at the beginning. right?? if so, that didn’t fix it for me.

  ofhp1_black:
    name: "black Toner"
    initial: 0
    min: 0
    max: 100
    step: 1
  dsp1hp_black:
    name: "black ink"
    initial: 0
    min: 0
    max: 100
    step: 1

dsp1hp_black - works right every time.
ofhp1_black - sometimes the slider showes up, sometimes it doesn’t.

I set the initial value to 1 for ofhp1_black and it shows up now. Lets see how it does over the next few weeks. I don’t restart HA often so it may take a while to see if it’s working or not.

Well, 42 minutes and I happened to look again, and my input slider is gone. Haven’t even restarted HA.

there must be something wrong with inputsliders.

i made 3 inputsliders a while ago.
they Always show up, but most of the time (not Always) they show in the frontend wirh initial value set to 50% in stead of the values i did set.
more strange:
if i change the values in the subgroup in a groupview they stay on their value, but if i look at the defaultview, the value still stays at the old value.

@ReneTode, i have seen some of my sliders also with a value of 50%, but i can not reproduce this issue.
What i can confirm is that there must be someting wrong with input sliders.
https://github.com/home-assistant/home-assistant/issues/7044

2 Likes