-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bar not showing #181
Comments
Sorry I haven't been as responsive in the issue tracker as I've usually been. This use case does require a bit of configuration. Really the only simple thing to configure are timers, which have the status of the timer as the state and the time remaining as an attribute. Yours instead as the time remaining as a state. Something like this should work: type: custom:timer-bar-card
entity: sensor.p1s_01p00a380200353_remaining_time
duration:
fixed: 07:00:00 # TODO: Set this to how long your timer is
remain_time:
state: true # Configures time remaining from state
units: minutes
guess_mode: true # Guesses the timer status from time remaining
bar_width: 60%
mushroom:
color: green
... If the timer duration is variable, you'll need another entity with more information about the timer to configure the card. The card doesn't have access to Home Assistant's history, so it can't figure out the initial duration before the timer started counting down. |
Describe the bug
I've tried to follow the documentation but can't seem to get the bar showing - this is most likely user error but I don't really know where else to go for help!
I think this should be simple as I don't need to pull specific attributes etc
Your card configuration
Debug information
State: 369 (state mode = idle)
Mode: idle (explicit; guess mode produces N/A)
Duration: second
Time remaining:
Counter:
Attr: {"unit_of_measurement":"min","device_class":"duration","friendly_name":"P1S_01P00A380200353 Remaining time"}
The text was updated successfully, but these errors were encountered: