question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`supervisor-2021.02.5` has made configuration difficult

See original GitHub issue

supervisor-2021.02.5 seems to have significantly changed the add-on configuration experience. It now presents all configuration options as a generated form unless the configuration includes lists (since it can’t handle that). This now causes this add-on to display an absolutely massive list of configuration options, nearly all of which are already configurable in the add-on UI.

It also doesn’t seem to be parsing booleans correctly? For instance I see this in the configuration UI for the add-on: Screen Shot 2021-02-08 at 10 44 57 PM But as you can see below, I have both the sensors turned on in the add-on UI and can confirm they definitely appears in my list of entities: Screen Shot 2021-02-08 at 10 46 14 PM Screen Shot 2021-02-08 at 10 47 45 PM

Anyway I really don’t know the implications of this change. I’m honestly afraid to modify anything in the configuration panel now because I don’t really trust that its correctly pulling in the options I configured in the UI and I don’t want to mess up my working configuration. I just wanted to make sure you were aware this happened as it now looks quite overwhelming for new users. And yea if existing users have to change any of the options not exposed in the UI it may be quite difficult now.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
sabeechencommented, Feb 10, 2021

In the meantime for anyone seeing this, its still possible to save configuration from within the supervisor UI. If you click the “…” and select “Edit in YAML” you can remove all of the empty configuration options, which allows it to save and appears to work as you would expect. All the empty values get added back in if you switch to the form UI editor, which is the default when you start to edit.

1reaction
sabeechencommented, Apr 22, 2021

I just released v0.104.1 of the addon, which removes the configuration options that were making problems for the new config editor UI in HA. It still has the problem of diplaying False/Empty String/0 for values that aren’t configured but at this point I don’t think my complaint is going to get any traction so I think this is the best I can do.

To update the addon, go to: Supervisor > Add-on Store > Click the ... in the top right > Refresh and you should see the new version. HA will also find it automatically if you give it enough time.

Kindly re-open this issue if you continue to run into problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - `supervisor-2021.02.5` has made configuration difficult -
supervisor -2021.02.5 seems to have significantly changed the add-on configuration experience. It now presents all configuration options as a generated form ...
Read more >
TPM Problem Solving. How to stop erratic problems?
These kind of problems can be frustrating for operators and maintenance techs as they tend to linger. Learning how to solve erratic problems...
Read more >
Security on the IBM Mainframe: Volume 1
decisions regarding software or hardware configuration. Frequently, decisions are made without reference to any security consultation simply because it has ...
Read more >
How to perform an unsupported conversion from a RHEL ...
Reconfigure your CentOS Linux 6 repositories to the Vault to make Convert2RHEL dependencies available. Ensure that you have an access to RHEL ...
Read more >
Woodland Weekly Police Report | Jan. 29 through Feb. 5, 2021
However, no arrests have yet been made and the incident is under ... The property manager and maintenance worker found him in an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found