[gcode_button porta] pin: ^!PG14 press_gcode: {% if "xyz" not in printer.toolhead.homed_axes %} ACENDER_LUZES {% endif %} SET_PIN PIN=caselight VALUE=1.00 {% if printer["gcode_macro status_part_ready"] != null %} status_ready {% endif %}
I'm trying to make a macro that when the printer is homed and has the status_part_ready macro, it turns on the light and changes to status_ready
but it seems like it is ignoring the part of {% if printer["gcode_macro status_part_ready"] != null %} ready_status {% endif %}
Can someone help me?