octoprint.schema.config.events#
EventSubscription
#
Bases: BaseModel
command: str
class-attribute
#
The command to execute when the event is triggered, either a GCODE or a system command.
debug: bool = False
class-attribute
#
If set to true
, OctoPrint will log the command after performing all placeholder replacements.
enabled: bool = True
class-attribute
#
Whether the event subscription should be enabled.
event: str
class-attribute
#
The event to subscribe to.
type: Literal['system', 'gcode']
class-attribute
#
The type of the command.