Hi,
I am seeking for help to create an automation to decrease speed on my fan. I created as below but after all, the fan still turn_off. I don’t want it to turn off
- platform: state
entity_id: sensor.0x54ef44117a4a2_action # change to your button
to: button_3_single # change to your button state
condition:
condition: not
conditions:
- condition: template
value_template: "{{ is_state_attr('fan.sofa_fan', 'percentage', '10') }}"
action:
- service: fan.decrease_speed
data:
percentage_step: 10
target:
entity_id: fan.sofa_fan
mode: single
Dear tom_l,
Unluckily, it still turns the fan off.
UPDATE!
When I tried the contribute to 20, luckily it works:grinning:
Possibly the problem is with the value of tge contribute.
Thanks for your help
It’s the solution for me