alias:Grocy Stock / Set washing machine active when power detectedtrigger:-platform:numeric_stateentity_id:switch.gf_dinning_washing_machine_switchvalue_template:'{{state.attributes.current_power_w}}'above:10condition:-condition:stateentity_id:sensor.gf_dinning_washing_machine_statusstate:Idleaction:-service:input_select.select_optiondata:entity_id:input_select.gf_dinning_washing_machine_statusoption:Running-service:rest_command.grocy_consume_itemdata:product_id:6amount:40-service:rest_command.grocy_consume_itemdata:product_id:7amount:80