28 lines
635 B
Python
28 lines
635 B
Python
|
def get_settings_defaults(self):
|
||
|
return {
|
||
|
# ...existing code...
|
||
|
|
||
|
# Add option to disable camera functionality
|
||
|
"disable_camera": False,
|
||
|
|
||
|
# ...existing code...
|
||
|
}
|
||
|
|
||
|
# ...existing code...
|
||
|
|
||
|
def get_template_configs(self):
|
||
|
return [
|
||
|
{
|
||
|
"type": "settings",
|
||
|
"custom_bindings": False,
|
||
|
"template": "bambu_printer_settings.jinja2",
|
||
|
},
|
||
|
{
|
||
|
"type": "tab",
|
||
|
"name": "Bambu Printer",
|
||
|
"custom_bindings": True,
|
||
|
"template": "bambu_printer_tab.jinja2",
|
||
|
},
|
||
|
]
|
||
|
|
||
|
# ...existing code...
|