<p>I'd like to force Klipper to perform power on (using <code>M80</code>) before homing. For this purpose I'm trying to override <code>G28</code>:</p>
<pre><code>[gcode_macro G28]
rename_existing: G28_BASE
gcode:
  M80
  G28_BASE { rawparams }
</code></pre>
<p>But for some reason this does not work, I'm getting the following error:</p>
<pre><code>G-Code macro rename of different types ('G28' vs 'G28_BASE')
</code></pre>
<p>Isn't <code>G28</code> overridable? Is there any other way to achieve the desired behavior?</p>

Because of the way parameters work differently (
```
Sx
```
vs
```
NAME=x
```
) for gcode style commands vs Klipper extended ones, the rename has to be to the "same type" of command.
```
G28_BASE
```
does not fit the pattern to be considered a "gcode style" one. Use
```
G9028
```
or
```
G28.1
```
or something instead and it should work.