In my current setup I try to add an input_number
which is shown as a box. At first it worked correctly, but then I noticed 2 strange things:
I set only one value and did not change anything and after a certain period of time, the value dropped back to zero.
The configuration contains the mode set to box, but the frontend displays both the box as well as the slider.
The following configuration is what I have
electricty_night_meter_reading:
name: Electricity Night Meter Reading
mode: box
unit_of_measurement: kwh
min: 0
max: 999999
step: 1
A screenshot can be found below:
Iām running 0.57.2. Does anyone know what can cause this?
1 Like
pplucky
(Pplucky)
November 13, 2017, 11:31pm
2
Same here. Have you had the chance to report it on github?
@pplucky not yet and Iām unfamiliar with how to do so. Are you able to do so? If not, then Iāll try to look into it the next few days.
OWK
November 24, 2017, 3:36pm
4
Same issue here on release 0.58.1.
I want a box but a slider and box are shown in the front end
Also, the automation that sets the input_number is not working anymore. It reports: āUnable to find service input_number/select_valueā.
Iāve changed the code to use āinput_numberā, of courseā¦
This is the input_number configuration:
#Input numbers
bathroom_humidity:
name: BK vochtigheid
icon: mdi:water-percent
unit_of_measurement: '%'
initial: 50
min: 25
max: 100
step: 0.1
mode: box
This is my script:
- alias: Set bathroom humidity
initial_state: 'on'
hide_entity: false
trigger:
- platform: state
entity_id: switch.BK_warm_water_douche2
to: 'on'
action:
- service: input_number.select_value
data_template:
entity_id: input_number.bathroom_humidity
value: '{{ states.sensor.badkamer_humidity.state | float }}'
yep, input_number has been ābrokenā for me as well since 0.57. shows both box and slider even though mode: box
is defined.
Mutt
(Muttley)
December 8, 2017, 11:35pm
6
Yep, upto 0.59.2 and āmode: boxā still includes a slider
Mutt
r41
December 11, 2017, 10:48pm
7
1 Like
Thank you @r41 for taking the time to do so!
Mutt
(Muttley)
January 17, 2018, 1:46pm
9
Hi I received a notification that this had been fixed but it has not.
I am running - hassio Home Assistant 0.61.0.dev0
Please see r41ās link above on github to see details of what I have observed
r41, my thanks also
Mutt