Input Number / Slider change event not triggered

Hi,

I want to control my shutters by esphome-nodes mounted witth switches near the doors.
Than I want to control them by UI (here I use as switch in the UI the output channel from the actor the shutter is connected to).
The esphome-node-switch do have a LED which I can switch on if needed.
I also have a Slider in the UI to move the shutter to a specific %-position.

To have not a big bunch of automations, I put the triggers together in one.
I also thought it was a good idea to control the position by using the sliders “changed” event if put a ‘new’ value to it. It worked as expected as long as the value is different from the old one. I know the meaning of “changed”. :wink:

How can I fire the event “changed” even if the new value is equal the old one?

I want to have one button on my nodes and one in the UI to move to e.g. 50%.
If I would connect the slider directly to current_position than the change event is fired all the time.

Regards

Here is some code I have so far.

Trigger: UI-Button (input_button) or the esphome-node-hardware-switch.
The lines with “*” ware there for testing to explicitiy set the value before to 0, but than the shutter is driving to pos 0 and than to 50%.
I hoped that the first automation triggers the second automation.

alias: "EG: Arbeit: Rollo: Tür: Pos: 50%"
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.len_09_status_p16
    from: "off"
    to: "on"
  - platform: state
    entity_id:
      - input_button.rollo_taste_eg_arbeit_tur_50
condition: []
action:
*  - service: input_number.set_value*
*    data:*
*      value: 0*
*    target:*
*      entity_id: input_number.rollo_slider_eg_arbeit_tur*
*    enabled: false*
  - service: input_number.set_value
    data:
      value: 50
    target:
      entity_id: input_number.rollo_slider_eg_arbeit_tur
mode: single

Trigger: Slider (for changes else than 50% via UI).

alias: "EG: Arbeit: Rollo: Tür: Pos"
description: ""
trigger:
  - platform: state
    entity_id: input_number.rollo_slider_eg_arbeit_tur
condition: []
action:
  - service: cover.set_cover_position
    data:
      position: "{{ states.input_number.rollo_slider_eg_arbeit_tur.state }}"
    target:
      entity_id: cover.arbeit_tur
mode: single