Options are not available to be set
cat-inGlasses opened this issue · 2 comments
First of all, thank you for such simple and nice integration!
Version of the custom_component
V.2.0.0
Describe the bug
In README.md file there is "Details" section which contains "Options" and "Attributes".
I've found attributes in images entity. But I couldn't find "Options". Where can I set them? As I understand, I can't just change attribute of image, and then it will be re-rendered..
As I guessed, those "Options" can be set while creating image entity on page of "QR-Code Generator" integration. And there is an "Advanced settings" checkbox, but clicking on it does nothing. Here are screenshots with checked and unchecked "Advanced settings" checkbox:
Debug log
Any related logs (related because of "qr_generator:1" link) , I've found in browser console is here
Google Chrome. latest for now: Version 114.0.5735.198 (Official Build) (x86_64)
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "mini-graph-card" has already been used with this registry
qr_generator:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "button-card-action-handler" has already been used with this registry
qr_generator:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "my-slider" has already been used with this registry
qr_generator:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "light-entity-card-editor" has already been used with this registry
qr_generator:1 Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "auto-entities-editor" has already been used with this registry
And logs from home assistant:
Home Assistant 2023.7.1
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest
2023-07-11 11:33:36.227 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration qr_generator which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-07-11 11:33:58.858 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'media_source', 'stt', 'map', 'file_upload', 'script', 'person', 'homeassistant_alerts', 'mobile_app', 'co2signal', 'auth', 'schedule', 'template', 'input_datetime', 'fully_kiosk', 'config', 'sensor', 'energy', 'input_boolean', 'samsungtv_smart', 'stream', 'panel_custom', 'input_number', 'openweathermap', 'dlna_dmr', 'esphome', 'persistent_notification', 'device_automation', 'hardware', 'xiaomi_miio', 'switch_as_x', 'mqtt', 'ffmpeg', 'upnp', 'default_config', 'image_upload', 'application_credentials', 'system_health', 'history', 'timer', 'assist_pipeline', 'wyoming', 'search', 'speedtestdotnet', 'browser_mod', 'blueprint', 'zone', 'trace', 'group', 'radio_browser', 'onboarding', 'homekit', 'repairs', 'localtuya', 'tag', 'hacs', 'automation', 'met', 'scene', 'input_select', 'sun', 'switch', 'counter', 'ui_lovelace_minimalist', 'utility_meter', 'input_button', 'tts', 'diagnostics', 'conversation', 'logbook', 'input_text', 'lovelace', 'qr_generator', 'my', 'analytics', 'samsungtv'}
2023-07-11 11:34:04.567 INFO (MainThread) [homeassistant.setup] Setting up qr_generator
2023-07-11 11:34:04.568 INFO (MainThread) [homeassistant.setup] Setup of domain qr_generator took 0.0 seconds
2023-07-11 11:34:07.736 INFO (MainThread) [homeassistant.components.image] Setting up image.qr_generator
2023-07-11 11:34:07.805 DEBUG (MainThread) [custom_components.qr_generator] Print "Test wifi" with: WIFI:S:changed NAME;T:WPA;P:some text;;
2023-07-11 11:36:26.040 ERROR (MainThread) [frontend.js.latest.202307051] https://fakehainstanceaddress/config/integrations/integration/qr_generator:0:0 Uncaught
2023-07-11 11:36:26.081 ERROR (MainThread) [frontend.js.latest.202307051] https://fakehainstanceaddress/config/integrations/integration/qr_generator:0:0 Uncaught
2023-07-11 11:36:26.084 ERROR (MainThread) [frontend.js.latest.202307051] https://fakehainstanceaddress/config/integrations/integration/qr_generator:0:0 Uncaught
2023-07-11 11:36:26.192 ERROR (MainThread) [frontend.js.latest.202307051] https://fakehainstanceaddress/config/integrations/integration/qr_generator:0:0 Uncaught
2023-07-11 11:36:26.267 ERROR (MainThread) [frontend.js.latest.202307051] https://fakehainstanceaddress/config/integrations/integration/qr_generator:0:0 Uncaught
2023-07-11 11:37:20.041 INFO (MainThread) [homeassistant.components.image] Setting up image.qr_generator
2023-07-11 11:37:20.046 DEBUG (MainThread) [custom_components.qr_generator] Print "Test wifi" with: WIFI:S:changed NAME;T:WPA;P:some text;;
You have to select the checkbox and then press submit, after that a new window will open to change the advanced settings.
Oh, I didn't try that one! thank you! :)