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

Duration doesn't work #176

Closed
Soulfly999 opened this issue Apr 23, 2024 · 2 comments
Closed

Duration doesn't work #176

Soulfly999 opened this issue Apr 23, 2024 · 2 comments

Comments

@Soulfly999
Copy link

Soulfly999 commented Apr 23, 2024

Hey, i tried several settings, but the duration doesn't work. It shows only 24 hours

So see my code above:

type: custom:uptime-card
entity: binary_sensor.diskstation_120j
icon: 'mdi:server'
status_adaptive_color: true
title_adaptive_color: false
tooltip_adaptive_color: true
icon_adaptive_color: true
duration:
quantity: 1
unit: year

2024-04-23 08_22_29-Übersicht – Home Assistant – Mozilla Firefox

With the old settings hours_to_show it works?
2024-04-23 08_29_14-Übersicht – Home Assistant – Mozilla Firefox

@dylandoamaral
Copy link
Owner

Are you sure you have the correct card version ? Can you check in the console inspector the printed version please ?

@Soulfly999
Copy link
Author

Ok, it seems to be an update problem. I deleted it via hacs and installed it again and now it works

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