Show remaining time (laundry time etc) in circle value of card #101
Replies: 3 comments 11 replies
-
here's a circle from a sensor Lines 206 to 222 in 7d7bc29 is |
Beta Was this translation helpful? Give feedback.
-
You've posted 3 different sensors now.. It won't work because you have no timestamp Lines 206 to 222 in 7d7bc29 |
Beta Was this translation helpful? Give feedback.
-
Just in case someone else is looking for a similar feature -- this is how I have solved it with @matt8707's help:
This shows the remaining time as state on the button (see image). See my comments (above) for more details about where to find the sensor. |
Beta Was this translation helpful? Give feedback.
-
Hi Matt, first of all -- I love your work and dedication. Big respect.
I have been modifying your code and an very happy so far. One thing I would like to change tho is the laundry timer.
I have a LG smart washer / dryer that has a sensor for remaining time ("sensor.washer_time_display").
How can I get this value into the circle for a new laundry_button_card.yaml?
I see you have used a similar approach for the person card, but can't seemt to get it working.
This is the mockup of the card (tap_action: wake up , doubel tap: start remotely in case it is set up).
Thanks in advance for your help! Even if it is just putting me into the right direction.
:)
PS: this is the sensor i mentioned: sensor.washer_time_display
Defined as:
washer_time_display: friendly_name: "Washer Time Display" value_template: > {% if is_state('sensor.washer_run_state', '-') %} {% elif is_state('sensor.washer_run_state', 'Standby') %} -:-- {% else %} {{ state_attr('sensor.washer', 'remain_time') }} {% endif %}
Beta Was this translation helpful? Give feedback.
All reactions