junkfix / numberbox-card

Replace input_number sliders with plus and minus buttons
109 stars 9 forks source link

With "min" & "max" defined: a glitch with changing a value #79

Closed ildar170975 closed 1 year ago

ildar170975 commented 1 year ago

Consider this example:

type: entities
entities:
  - input_number.test_number
  - type: custom:numberbox-card
    entity: input_number.test_number
    min: 10
    max: 20
title: min/max

The entity is a simple input_number entity, it does not have attributes min, max, set. The code above gives this a strange behaviour when a user changes a value:

n1

htmltiger commented 1 year ago

Thanks for reporting.