I am struggling to get a slider value sent to my IHC.
I can send temp values from the clima control to my ihc, but I’m not sure how to do it when it’s “just” a value from a slider.
I’m pretty sure it’s a small bug in my “trigger.to_state”, but I’ve tried the solutions I could find around without success. so I hope someone has the right code.
alias: PlugIn Timer
description: Styring af Ur til opladning af Bil
trigger:
- platform: state
entity_id:
- input_number.slider1
condition: []
action:
- service: ihc.set_runtime_value_float
data:
controller_id: 0
ihc_id: 18335243
value: "{{ trigger.to_state.input_number.slider1 }}"
mode: single
cool, it looks like something I’ve already tried, but I’ll try again, there might be a mistake in what I copied in. I’ll get back with the result thanks for your time and help so far.
it didn’t solve my problem. I think the code is correct so the error must be somewhere else.
I can see that when I change the value on the slider it also runs the automation in the log, but the value for “Plugin_Tid_value” does not change.