The change log states:
20191107: The primary extruder config section must be specified as “extruder” and may no longer be specified as “extruder0”. Gcode command templates that query the extruder status are now accessed via “{printer.extruder}”.
With regard to the development of macros for multi-tool devices, it would make things a lot easier, if [extruder] and [extruder0] could be used interchangeably. Since I do not know the inner workings of klipper, I cannot suggest a good path on how to approach this issue, but the options that come to my mind are:
create an alias extruder0 for extruder, independent of the name of the section
allow [extruder0] section to completely replace [extruder0]
allow naming the extruder [extruder extruder0]
Requirements:
Update / extend printer object model accordingly, such that printer.toolhead.extruder0 is valid and populated with properties
Thanks @jjarosz , I have coded around the inconsistent naming convention of a multi-extruder setup and it works. But that is exactly the point: if I could have used extruder0, the code would look much cleaner and easier to read. Hence my request to reintroduce [extruder0]