Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entities card support for attributes broken for editing #9586

Closed
3 tasks done
robloh opened this issue Jul 19, 2021 · 0 comments · Fixed by #9963
Closed
3 tasks done

Entities card support for attributes broken for editing #9586

robloh opened this issue Jul 19, 2021 · 0 comments · Fixed by #9963
Labels
Bug Current Bug in UI - Extra Attention

Comments

@robloh
Copy link

robloh commented Jul 19, 2021

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

GUI editing of attributes for entities card has never been supported, but it used to work when editing yaml in the frontend. With one of the latest releases I'm getting even more errors & warnings and can't add new entities at all (save button grayed out).

Describe the behavior you expected

No errors, ability to save the yaml in the code editor. In older versions only warnings showed up, not errors, and updated yaml could be saved.

Steps to reproduce the issue

I have the following yaml:

type: entities
entities:

  • entity: sun.sun
  • type: attribute
    entity: sun.sun
    attribute: elevation
    name: ' '
    suffix: °
    icon: mdi:angle-acute
  • entity: timer.living_room_temperature_timeout
  • entity: sensor.dishwasher_current
  • entity: sensor.dishwasher
  • entity: binary_sensor.internet
  • type: attribute
    entity: vacuum.rosie
    attribute: battery_level
    icon: mdi:battery
    suffix: '%'
    name: Rosie

I go to edit the card, and add this entity line:

  • entity: weather.home

Preview no longer works, save button is grayed out

What version of Home Assistant Core has the issue?

core-2021.7.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Vivaldi 4.0

Which operating system are you using to run this browser?

Windows 10

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

Lovelace UI before trying to edit:

image

A short list of errors and warnings the UI displays when editing:

image

image

Attributes are supported per: https://www.home-assistant.io/lovelace/entities/

@robloh robloh added the Bug Current Bug in UI - Extra Attention label Jul 19, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant