I used a special template sensor ‘always off’ to have an entity to use (it’s required) and keep the ‘disabled’ color. (A side question - is there a better way to do that?)
But the Lovelace code editor doesn’t let me save this config. It says:
Configuration errors detected:
* Required key "entities.0.entity" is missing.
* Required key "entities.0.name" is missing.
* Required key "entities.0.tap_action" is missing.
* Required key "entities.0.tap_action" is missing.
* Required key "entities.0.tap_action" is missing.
* Required key "entities.0.tap_action" is missing.
* Required key "entities.0.tap_action" is missing.
* Required key "entities.0.view" is missing.
* Required key "entities.0.view" is missing.
* Required key "entities.0.view" is missing.
* Required key "entities.0.conditions" is missing.
* Required key "entities.0.url" is missing.
* Required key "entities.0.entity" is missing.
* Required key "entities.0.attribute" is missing.
* Required key "entities.0.name" is missing.
* Required key "entities.0.service" is missing.
* Required key "entities.0.name" is missing.
* Required key "entities.0.text" is missing.
What you added is unrelated to the error message.
You might have had an alignment issue the first time.
I’d bet removing them won’t make any difference, now.
Am I editing it in the wrong place?
I opened the dashboard, and selected ‘edit dashboard’ in the top right corner, then ‘add card’ and ‘entities’ card, where I clicked ‘show code editor’ and that editor is giving me those errors…
I am running core-2021.6.6/supervisor-2021.06.6 version.
Obviously there is something different about my setup, any idea how to determine what is wrong?
Or maybe it’s just the editor that’s picky, is there a different way to edit Lovelace dashboard configuration?
Wanted to say I am also experiencing this with the latest update. It used to work fine 2-3 weeks ago.
I have existing cards that are working perfectly. However, when I edit these HA shows configuration errors requiring useless keys and preventing me from saving changes.
So I am now making the changes I need using the raw configuration editor till this gets fixed.
Giving a snapshot of what my card looks like and the errors below. If I can provide additional information to help, please let me know.
type: entities
entities:
- type: button
icon: mdi:snowflake
name: AC Off
action_name: Run
tap_action:
action: call-service
service: remote.send_command
service_data:
entity_id: remote.rm4_remote
command: b64:BASE64CodeHERE
num_repeats: 1
Error messages:
Configuration errors detected:
Required key "entities.0.entity" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.conditions" is missing.
Required key "entities.0.url" is missing.
Required key "entities.0.entities" is missing.
Required key "entities.0.entity" is missing.
Required key "entities.0.attribute" is missing.
Required key "entities.0.service" is missing.
Required key "entities.0.text" is missing.
Hi,
well, what to say - I had the same error messages on editing my entity card (depending on attributes), and the only working way was to follow the advices of Qoobs (Thanks a lot):
I recently experienced this behavior with type: button and came across your post. This info helped me figure out what to change on my existing configuration to stop the errors - thanks!
I am updated to 2021.9.1 and I’m having similar issues.
I’m not trying to add a button. I’m trying to add in another entity and there is a long list of configuration errors similar to @Qoobs’ as soon as I start to edit the YAML.
I cant edit one letter of the YAML without configuration errors preventing me from saving.
hi i having same issues… what do i need to change in my code to fix this… its been since june since i edit things and i cant adjust anything… was told to edit it file explorer the yaml… but what do i need to change add?
i tried couple things you guys did above but didnt work
didnt work still get this error i didnt post it all
and i cant even use the save button anyways… i change 1 character like the name boom i cant save nothing
Configuration errors detected:
Required key "entities.0.type" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.tap_action" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.view" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.conditions" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.url" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.entities" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.attribute" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.service" is missing.
Required key "entities.0.type" is missing.
Required key "entities.0.text" is missing.
Required key "entities.0.type" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.tap_action" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.view" is missing.
Required key "entities.1.view" is missing.
Required key "entities.1.view" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.conditions" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.url" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.entities" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.attribute" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.service" is missing.
Required key "entities.1.type" is missing.
Required key "entities.1.text" is missing.
Required key "entities.1.type" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.tap_action" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.view" is missing.
Required key "entities.2.view" is missing.
Required key "entities.2.view" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.conditions" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.url" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.entities" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.attribute" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.service" is missing.
Required key "entities.2.type" is missing.
Required key "entities.2.text" is missing.
Required key "entities.2.type" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.tap_action" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.view" is missing.
Required key "entities.3.view" is missing.
Required key "entities.3.view" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.conditions" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.url" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.entities" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.attribute" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.service" is missing.
Required key "entities.3.type" is missing.
Required key "entities.3.text" is missing.
Required key "entities.3.type" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.tap_action" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.view" is missing.
Required key "entities.4.view" is missing.
Required key "entities.4.view" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.conditions" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.url" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.entities" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.attribute" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.service" is missing.
Required key "entities.4.type" is missing.
Required key "entities.4.text" is missing.
Required key "entities.4.type" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.tap_action" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.view" is missing.
Required key "entities.5.view" is missing.
Required key "entities.5.view" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.conditions" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.url" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.entities" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.attribute" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.service" is missing.
Required key "entities.5.type" is missing.
Required key "entities.5.text" is missing.
Required key "entities.5.type" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.tap_action" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.view" is missing.
Required key "entities.6.view" is missing.
Required key "entities.6.view" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.conditions" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.url" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.entities" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.attribute" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.service" is missing.
Required key "entities.6.type" is missing.
Required key "entities.6.text" is missing.
Required key "entities.6.type" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.tap_action" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.view" is missing.
Required key "entities.7.view" is missing.
Required key "entities.7.view" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.conditions" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.url" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.entities" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.attribute" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.service" is missing.
Required key "entities.7.type" is missing.
Required key "entities.7.text" is missing.
Required key "entities.7.type" is missing.
Visual editor is not supported for this configuration:
Key "entities.0.style" is not expected or not supported by the visual editor.
The provided value for "entities.0" is not supported by the visual editor. We support (string) but received ({"entity":"switch.b_hot_water_tank_switch","name":"Hot Water Tank","icon":"mdi:water","secondary_info":"last-updated","style":":host {\n--card-mod-icon-color: \n{% if states(config.entity) == 'on' %} \n yellow\n{% elif states(config.entity) == 'off' %}\n green\n{% else %}\n blue\n{% endif %}\n;\n} \n"}).