Giter Site home page Giter Site logo

Comments (10)

liuhuaipu avatar liuhuaipu commented on July 28, 2024

I also encountered the same problem, did you solve it?

from lg-washer-dryer-card.

doemu0992 avatar doemu0992 commented on July 28, 2024

Hi,
Unfortunately not yet, you ?

from lg-washer-dryer-card.

liuhuaipu avatar liuhuaipu commented on July 28, 2024

I don't know where to start.

from lg-washer-dryer-card.

doemu0992 avatar doemu0992 commented on July 28, 2024

I don't know where to start

It's the same for me, I've tried almost everything. Unfortunately without success

from lg-washer-dryer-card.

raliseda avatar raliseda commented on July 28, 2024

did you check that the name that is displayed under the sensors integration match exactly with the card? washing, rinsing etc. I had the same problem and the name was different. I change them and it worked well! hope that helps.

from lg-washer-dryer-card.

liuhuaipu avatar liuhuaipu commented on July 28, 2024

微信截图_20220705104155
微信截图_20220705104239

from lg-washer-dryer-card.

liuhuaipu avatar liuhuaipu commented on July 28, 2024

Can you share your card configuration code as a reference? Because I can't find out where my wrong setting is.

from lg-washer-dryer-card.

raliseda avatar raliseda commented on July 28, 2024

here it is, since my application is in spanish, I had too match the name sensors (runstate name) with the card: I use bold text to identify where you need to match the names with the names that add up in your integration.

type: vertical-stack
cards:

  • type: picture-elements
    elements:
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/dry.png
      state_image:
      Secando: /local/lg-icons/dry-on.png
      style:
      top: 73%
      left: 59%
      width: 10%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/cool.png
      state_image:
      Enfriando: /local/lg-icons/cool-on.png
      style:
      top: 73%
      left: 67%
      width: 10%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/sensing.png
      state_image:
      Detectando: /local/lg-icons/sensing-on.png
      style:
      top: 33%
      left: 33%
      width: 20%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/wash.png
      state_image:
      Lavando: /local/lg-icons/wash-on.png
      style:
      top: 33%
      left: 51%
      width: 20%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/rinse.png
      state_image:
      Enjuagando: /local/lg-icons/rinse-on.png
      style:
      top: 33%
      left: 69%
      width: 20%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora_run_state
      image: /local/lg-icons/spin.png
      state_image:
      Centrifugando: /local/lg-icons/spin-on.png
      style:
      top: 33%
      left: 87%
      width: 20%
      image-rendering: crisp
    • type: image
      entity: sensor.lavadora
      image: /local/lg-icons/wifi.png
      state_image:
      'on': /local/lg-icons/wifi-on.png
      style:
      top: 73%
      left: 32%
      width: 10%
      image-rendering: crisp
    • type: image
      entity: binary_sensor.lavadora_door_close
      image: /local/lg-icons/lock.png
      state_image:
      'on': /local/lg-icons/lock-on.png
      style:
      top: 73%
      left: 45%
      width: 10%
      image-rendering: crisp
    • type: state-label
      entity: sensor.blank
      prefix: '18:88'
      style:
      color: '#555'
      font-family: segment7
      font-size: 50px
      left: 95%
      top: 74%
      transform: translate(-100%,-50%)
    • type: state-label
      entity: sensor.lavadora_time_display
      style:
      color: '#8df427'
      font-family: segment7
      font-size: 50px
      left: 95%
      top: 74%
      transform: translate(-100%,-50%)
      image: /local/hass-combo-card-bg.png
  • type: conditional
    conditions:
    • entity: sensor.lavadora_run_state
      state_not: '-'
    • entity: sensor.lavadora_run_state
      state_not: Standby
      card:
      type: entities
      entities:
      • entity: sensor.lavadora
        type: attribute
        attribute: water_temp
        name: Water Temperature
        icon: mdi:coolant-temperature
      • entity: sensor.lavadora
        type: attribute
        attribute: spin_speed
        name: Spin Speed
        icon: mdi:rotate-right
      • entity: sensor.lavadora_dry_level
        type: attribute
        attribute: dry_level
        name: Dry Level
        icon: mdi:air-filter
      • entity: sensor.lavadora
        type: attribute
        attribute: run_state
        name: Current State
        icon: mdi:archive
      • entity: sensor.lavadora
        type: attribute
        attribute: tubclean_count
        name: Washes Since Tub Clean
        icon: mdi:creation
        state_color: false

from lg-washer-dryer-card.

doemu0992 avatar doemu0992 commented on July 28, 2024

Hello together,

Will try this with the status of the process tonight.

from lg-washer-dryer-card.

phrz avatar phrz commented on July 28, 2024

Hi y'all, sorry for the delayed response. Just to confirm what has been suggested, this card is programmed for English language sensor values. If your installation is in another language, you need to change it to match the values as they appear in your set language. That is, wherever you see a state name in the YAML, such as:

state_image:
  Detecting: /local/lg-icons/sensing-on.png

You would need to change it to (for example, in Spanish)

state_image:
  Detectando: /local/lg-icons/sensing-on.png

And so on for your localization settings. This is not an issue with this project, but a limitation of the LG integration, which uses localized state names that cannot be automatically adapted to when the language changes. I believe the language they appear in actually depends upon the language of your LG account rather than your Home Assistant installation.

I'm going to close this for now, but please feel free to ask for more clarification if you need it.

from lg-washer-dryer-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.