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

UV_summary not displaying #80

Closed
LastElf opened this issue Apr 6, 2022 · 3 comments
Closed

UV_summary not displaying #80

LastElf opened this issue Apr 6, 2022 · 3 comments

Comments

@LastElf
Copy link

LastElf commented Apr 6, 2022

Relevant code and screenshot below, can't see anything wrong with my yaml unless there's a weird order of operations thing going on, but all the others are working:

Home Assistant 2022.3.5 in Docker
Card version: 0.94

Card

entity_uv_summary: sensor.bom_uv_formatted
...
slot_r1: pop
slot_r2: humidity
slot_r3: uv_summary
slot_r4: fire_summary
slot_r5: remove

image

Sensor template

    - name: bom_uv_formatted
      state: >
        {{ states('sensor.bundamba_uv_category_0') | replace('veryhigh', 'Very High') | title }}

image

@DavidFW1960
Copy link
Owner

The devil is always in the detail:

            entity_uv_alert: sensor.bom_uv_alert
            entity_uv_alert_summary: sensor.uv_cat_formatted

You probably meant this:

entity_uv_alert: sensor.bom_uv_formatted

@LastElf
Copy link
Author

LastElf commented Apr 7, 2022

For the record: uv_alert_summary was what I needed in both the slot and the entity (For anyone else that finds this thread)

@DavidFW1960 I was basing this on the Slots and Flags section of your code readme. The Configuration example uses the new uv_alert values but the references below are still showing an old variable name and need to be updated. That's where my confusion came from. Thanks for the quick response!

@DavidFW1960
Copy link
Owner

it actually uses a summary variable for the summary text and the alert variable for the slot. so it uses both. if you don't provide a variable as it's optional it will just be blank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants