custom-cards / secondaryinfo-entity-row

Custom entity row for HomeAssistant, providing additional types of data to be displayed in the secondary info area of the Lovelace Entities card
169 stars 15 forks source link

Config is not supported by the UI editor #14

Closed emilicus closed 4 years ago

emilicus commented 5 years ago

Hello i'm on hass.io 0.95.4 configured with HACS and this plugin. While configuring some basic entities cards, i'm getting this error in the card setup window:

Your config is not supported by the UI editor: Expected a value of type {entity,name,icon} | entity-id for entities.0.secondary_info but received "[[ sun.sun.last_changed ]]". Falling back to YAML editor.

Also, even if the secondary infos are displayed, the GUI becomes very sluggish until i comment the secondary-info section.

Please don't take in account for the secondary-info attributes actually used: it is only a testing one, just to give the idea ;-)

Attached the configs i'm using

Any hints?

TIA

en9tities_yaml

lovelaceUI_yaml.txt card.txt

emilicus commented 5 years ago

Hello all - anyone on this? TIA ;-)

MizterB commented 5 years ago

Not sure how to help here...I don't believe the UI editor is intended to support custom cards like this. It will allow you provide the right information and might provide some basic preview capabilities, but the validation is always going to fail. Behavior for me is erratic, but the best way to be using this card is to manually update the Lovelace config files.

iantrich commented 4 years ago

That is not really an error, just a fact. The UI editor does not support those fields, so it takes you to the YAML editor