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

AQI #362

Open
alemangioni opened this issue Jun 6, 2024 · 2 comments
Open

AQI #362

alemangioni opened this issue Jun 6, 2024 · 2 comments
Labels
bug Something isn't working stale

Comments

@alemangioni
Copy link

alemangioni commented Jun 6, 2024

According to the documentation AQI object has the attribute as optional (what is totally fine as my value I want to show is in the entity).

The problem is that if the attribute is not defined when using the aqi object, then the aqi it's not showing at all.

Steps to reproduce

  1. Go to 'Dashboard -> Edit Card'
  2. On 'Code Show Editor, add the aqi object, define only entity and unit.'
  3. See error on card, the aqi is not showing unless you add the attribute optional variable as well.

Expected behavior
The aqi should take either the entity or the attribute as a value and render it. If any of both is present, the aqi should be present and not hidden.

Screenshots
image

image

Versions:

  • Release: [2.5.3]
  • Browser: [Chrome]
  • HomeAssistant version: [2024.6.0]
@alemangioni alemangioni added the bug Something isn't working label Jun 6, 2024
@alemangioni alemangioni changed the title AQU AQI Jun 6, 2024
@ond000
Copy link

ond000 commented Jul 9, 2024

you use bad object in aqi, instead of entity use entity_id, like this:
Snímek obrazovky 2024-07-09 v 14 05 56

Copy link

github-actions bot commented Sep 7, 2024

There hasn't been any activity on this issue recently. This issue has now been marked as stale and will be closed if no further activity occurs. Please, update to the latest version and check if that solves the issue.
Thank you for your contributions!

@github-actions github-actions bot added the stale label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants