diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..54c89c7 --- /dev/null +++ b/__init__.py @@ -0,0 +1,28 @@ +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... \ No newline at end of file diff --git a/templates/bambu_printer_settings.jinja2 b/templates/bambu_printer_settings.jinja2 new file mode 100644 index 0000000..4a36bbb --- /dev/null +++ b/templates/bambu_printer_settings.jinja2 @@ -0,0 +1,17 @@ +