Open xstrex opened 2 hours ago
Fixed the typo in my config l:6 itme
. Not it looks like the config is loading correctly, though my question about the item
vs new_item
remains.
Hi @xstrex,
I am seeing that the error that you received was because there was a typo in the item property, so that property was missing. You already fixed that.
Yet the example you provide doesn't follow this standard, and instead allows for either item or new_item. Which per the developer console should throw an exception.
I don't understand well your question. Every item in the example has an item
property. new_item
is in the items that are not already in the sidebar and need to be created. What do you mean with "the example you provide doesn't follow this standard"? Which standard do you mean?
So, which is it? Does the order array require item or new_item? Because utilizing both isn't working.
Only item
is mandatory, new_item
is to create a new item in the sidebar:
Also, when using HassOS, how would someone link to the esphome container- for instance the link in my default sidebar points to http://redacted.internal.host:8123/5c53de3b_esphome, I suspect since it's a container the 5c53de3b_esphome will change (unconfirmed). Studio code server is another example, just not sure how to reference it.
In my experience those links don't change (something different is the ingress iframe URL). But those links are already in the sidebar, you can add them if you activate the switch to show them in the sidebar from the addon configuration.
though my question about the
item
vsnew_item
remains.
I need to understand first your question, sorry if I am not able to get it correctly. 🙂
Thanks for putting all this together, just trying to get is going but having some issues, and noticing some inconsistencies, so wanted to ask.
I've successfully loaded your module:
The developer tools shows the module is loaded:
Yet produces an invalid configuration (which is good, we're half way there)! Now it states that
every item in an "order" array should have an "item" property
. Which would imply the following:and your documentation for the
order
array states thatitem
is the only required field.Yet the example you provide doesn't follow this standard, and instead allows for either
item
ornew_item
. Which per the developer console should throw an exception..So, which is it? Does the
order
array requireitem
ornew_item
? Because utilizing both isn't working.For reference here's my sidebar-config.yaml:
Also, when using HassOS, how would someone link to the esphome container- for instance the link in my default sidebar points to
http://redacted.internal.host:8123/5c53de3b_esphome
, I suspect since it's a container the5c53de3b_esphome
will change (unconfirmed). Studio code server is another example, just not sure how to reference it.