Printer.fan_generic object support or workaround

Noted in the klipper docs, status reference section, printer.fan_generic seems to be left out of the available printer objects. “The following information is available in [fan], [heater_fan some_name] and [controller_fan some_name] objects” Is this correct? Because I can’t find any way to format {% set backup_fan_speed = printer.fan_generic cooling_fan.speed %} to make it work.

You can use:

{% set backup_fan_speed = printer["fan_generic cooling_fan"].speed %}