Comments (10)
Frank,
This card relies on testing the machine's state, and whether it matches certain English strings, such as '-'
, 'Standby'
, 'Detecting'
, 'Washing'
, 'Rinsing'
, and so on. Unfortunately, to my knowledge, there is no language-neutral way to get state from the LG ThinQ integration, and it varies based on system language.
It appears from your screenshot showing a course named Kurz 14
that, even if your Home Assistant installation may be in English, your LG account is not. The reason you're seeing the course at all (rather than that part hiding itself), and the reason the time is still showing, is probably because the washer is returning its state in another language, and all of the state comparisons made in the code become useless. That's my best guess based on what you've shown me (which does not include the possible or recent state values for the various entities and attributes).
Because of this, I cannot modify my card's code to support all languages or machines (your model is different and may have different state strings), and I cannot tell you precisely what you need to change to make the card work. You'll have to look at what values your entities return during a wash or dry cycle, and write them down. Then, you'll have to modify the configuration.yaml
and card code for this repository to fit those values, to the extent that they differ from the values I've given.
In this same vein, see my answer to your previous issue.
from lg-washer-dryer-card.
@phrz - Thanks for the response. Actually, most of the states are in English. Kurz is just "short" which is a wash cycle type. I'm happy to do the work, I'm just not sure where. Please see the below attachment. Does this change anything?
from lg-washer-dryer-card.
Frank, thanks for giving me more context. I see now that your LG account is returning English strings via the ThinQ integration, so that is NOT the cause of the problem.
But I notice that the entities are still showing "0:00:00" as the Remaining time, that the Run state is "Finished", and so on, so my card is accurately reporting this information. In my experience, the Run state is supposed to change to "-", and that's when my card shows everything as "turned off." Because yours is not doing that, the card is not turning off. As far as I know, your washer should be leaving the "Finished" state and going into the "-" state, and if it's not, it's either a difference in your hardware, or something is amiss.
Is this screenshot from right after it finished, or is it from just now? Has the washer been used very recently? Did you go and turn your washer off when you were done? Did your ThinQ integration lose its connection, and never update? Are you running a very old version of the ThinQ integration? I'm running v0.31.2, according to HACS, and the latest version is v0.31.3.
from lg-washer-dryer-card.
@phrz - Actually, I'm also running 0.31.3. The screen shot is current. The machine has been off (finished) for quite some time.
I'm going to run a load and see if anything changes.
Looks correct during.
from lg-washer-dryer-card.
Oddly, it's not updating though. And the app!
from lg-washer-dryer-card.
Updated when it changed cycles:
from lg-washer-dryer-card.
It's weird because the unit has stopped but the app and integration haven't updated.
from lg-washer-dryer-card.
Maybe an issue with the LG service and not the integration or the card?
from lg-washer-dryer-card.
I'm glad you were able to find where the issue lay: between the washer and the LG cloud, or possibly between the LG cloud and the integration. I'd recommend resetting your washer, or basically disconnecting the Wi-Fi and deleting it from the app, then re-adding it. Maybe check your router to see if the washer has poor signal strength. Otherwise, you can call LG, see if they will help (framed in the context of their official app, of course).
For now, I'll close the issue, because the bug doesn't seem to reside in this repository's implementation.
from lg-washer-dryer-card.
Thanks for indulging me! I'll drop you a line/note to let you know what I find out.
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
- Sensor Missing HOT 3
- 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
- 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
- Unable to get images to display properly HOT 4
- Can't get the font to display properly HOT 2
- Add this repository to HACS 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.