Comments (3)
I have the same issue, when I change display time to remaining time, it works but since the timer uses seconds, the display wont fit.
Have you manage to resolve this?
thanks
from lg-washer-dryer-card.
Sorry, found the issue. The instructions stated to change the washer to whatever LG named them, which in my case was front_load_washer. So when I went thru the configuration.yaml, I renamed them all. But it appears I did not need to rename both door_lock & remain_time. Here is my updated configuration.yaml
sensor:
- platform: template
sensors:
washer_door_lock:
friendly_name: "Washer Door Lock"
value_template: "{{ state_attr('sensor.front_load_washer','door_lock') }}"
washer_time_display:
friendly_name: "Washer Time Display"
value_template: >
{% if is_state('sensor.front_load_washer_run_state', '-') %}
{% elif is_state('sensor.front_load_washer_run_state', 'Standby') %}
-:--
{% else %}
{{ as_timestamp(strptime(state_attr('sensor.front_load_washer', 'remain_time'), '%H:%M:%S')) | timestamp_custom('%-H:%M') }}
{% endif %}
dryer_time_display:
friendly_name: "Dryer Time Display"
value_template: >
{% if is_state('sensor.dryer_run_state', '-') %}
{% elif is_state('sensor.dryer_run_state', 'Standby') %}
-:--
{% else %}
{{ as_timestamp(strptime(state_attr('sensor.dryer', 'remain_time'), '%H:%M:%S')) | timestamp_custom('%-H:%M') }}
{% endif %}
blank:
friendly_name: "Blank Sensor"
value_template: ""
from lg-washer-dryer-card.
I fixed the seconds issue that was found in Issue #11 using their suggestion. But it's also shown in the above code.
from lg-washer-dryer-card.
Related Issues (20)
- Instruction Improvement HOT 1
- Seconds are displayed now HOT 7
- Feature request: Child lock icons/status HOT 2
- Multiple images not showing u p HOT 2
- Wash status is not displayed HOT 10
- Card Backgrounds for WM4000HWA and DLEX4000W HOT 2
- README.md image links are b0rked HOT 1
- Everything works except the font HOT 1
- How do I remove this error logo from the cards? I don't have any errors with the integration so not sure why they're there. HOT 3
- Feature request: Display hh:mm only for time remain HOT 8
- Format time from 0:00:00 to -:–:– for washer when complete and system is off HOT 1
- Card showing invalid status? HOT 10
- Still can't get remaining time to be -:-- when state is Off/Standby/- HOT 5
- remain_time or reserve_time? HOT 1
- Add icon in French HOT 10
- Power usage information HOT 1
- [BUG] 7segment font not used in iOS HOT 2
- Pictures disappeared in Lovelace HOT 2
- [BUG] Repository structure for main is not compliant HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lg-washer-dryer-card.