slider-button-card icon indicating copy to clipboard operation
slider-button-card copied to clipboard

Add Support for input_number domain

Open lizsugar opened this issue 3 years ago • 6 comments

This was requested in issues #161 and #7 This adds support for the input_number domain and makes the entities far far easier to manage on a mobile touch display vs. the builtin entities card.

image

One note: There is a current oustanding bug where if the input_number.entity.min value is not cleanly divisible by the input_number.entity.step value, then the slider card is off by an amount. If your input_number has min = 5, max = 25, step = 5 then it will work just fine. But if the step is 2, then it will be off. This also has the side effect of changing the input_number to an "illegal" value when modified via slider-button-card. Step = 1 always works.

If anyone has any insight I would appreciate the help. Otherwise, I am submitting as is, because it is largely functional right now.

lizsugar avatar Apr 28 '22 20:04 lizsugar

was just about to suggest this!

goldenpipes avatar May 15 '22 00:05 goldenpipes

I wish this will be available soon. I'm real waiting for this. This add-on is wonderfull.

Helios-light avatar Jun 01 '22 06:06 Helios-light

If I understand well, the fonction is ready with a minor bug. Can you merge it in a beta we can try it ?

Helios-light avatar Jun 01 '22 06:06 Helios-light

May this pull be merged? Looks like a very nice feature. Thank you very much Liz!

ivancristina avatar Jun 02 '22 16:06 ivancristina

PR submitted to maintained version of slider-button-card https://github.com/custom-cards/slider-button-card/pull/7

lizsugar avatar Jun 02 '22 19:06 lizsugar

How should be used? I am trying to add an input_number but I get error, like does not exists...

pickonedev avatar Sep 05 '22 08:09 pickonedev