I’m not 100% sure what the right answer is as far as syntax goes, meaning quotes or no quotes, but those should match. Either both with quotes or both without.
I’m also not 100% sure that you can do that directly in the automation. You may need to create a template sensor or threshold sensor for your <3 / >6 state.
If that’s all you need, then simply removing the above: 6 line.
The warning you got was correct. You can’t have above 6 & below 3 at the same time. Even if it knew you meant “trigger when it goes from above 6 to below 3”, you’d still encounter issues with missed triggers if reported eg. 4 for a second before it went below 3.
If you’re sure the current is never above 3 in standby and doesn’t stay below 3 for more than 2 mins during a cycle, removing the above: 6 line should be enough.
Otherwise play around with the values and timings until you’re happy. The history of the current entity will help avoid trial and error.
PS, speaking of entity. You have the wrong one in your second automation. It should be sensor.clothes_washer_kp15_current_consumption, not switch.clothes_washer_kp15
For things that I want to track on/off state based on power consumption, I create template binary sensors called <device>_in_use. That keeps on/off detection logic separate from any actions taken based on that, and it makes debugging much easier.
Example:
clothes_washer_in_use:
unique_id: clothes_washer_in_use
friendly_name: Clothes Washer In Use
device_class: power
delay_off:
minutes: 2
value_template: >-
{{ states('sensor.clothes_washer_power') |float(default=0) > 7 }}
Then you can use this sensor as a simple trigger for automations.