Nope, this is an active project and has been working great with my washer/dryer for quite some time.
It mostly works, but… I can’t figure out how to get rid of these yellow/orange triangles? Even when a cycle is running and the time is displayed, it’s just displayed on top of the triangles and you can still see them behind the time. Has anyone run into this, or does anyone have any ideas how I can fix it?
EDIT: I just figured it out. You need to leave the “sensor blank” sensor in the config. The directions said to remove any sensors you don’t have (dishwasher, etc), so I had removed that as well. Oops!
I’m having the same issue as the poster above – remaining time is not displaying.
Anyone know what’s up?
I do not have an entity named “sensor.blank”, however I left the config in my dashboard:
- type: picture-elements
elements:
- type: image
entity: sensor.lg_dryer_run_state
image: /local/lg-icons/dry.png
state_image:
Drying: /local/lg-icons/dry-on.png
style:
top: 33%
left: 69%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.lg_dryer_run_state
image: /local/lg-icons/cool.png
state_image:
Cooling: /local/lg-icons/cool-on.png
style:
top: 33%
left: 87%
width: 20%
image-rendering: crisp
- type: image
entity: sensor.lg_dryer
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: 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.lg_dryer_time_display
style:
color: '#8df427'
font-family: segment7
font-size: 50px
left: 95%
top: 74%
transform: 'translate(-100%,-50%)'
image: /local/hass-dryer-card-bg.png
- type: conditional
conditions:
- entity: sensor.lg_dryer_run_state
state_not: '-'
card:
type: entities
entities:
- entity: sensor.lg_dryer
type: attribute
attribute: current_course
name: Current Course
icon: 'mdi:tune-vertical-variant'
- entity: sensor.lg_dryer
type: attribute
attribute: temp_control
name: Temperature Control
icon: 'mdi:thermometer'
- entity: sensor.lg_dryer
type: attribute
attribute: dry_level
name: Dry Level
icon: 'mdi:air-filter'
Yeah, looks like you did the same thing I did. The sensor.blank would be in your configuration.yaml where you put the sensors for the washer & dryer.
I actually just filmed a video about this the other day. Just need to do the voice-over and editing and get it up to my YouTube channel. Hopefully within the next day or two. I’ll post a link when I get it finished and published.
I had a fantastic automation working with LG Washer Dryer. It announced the end of a cycle on all my Echo devices. Now, for some reason, I get the alert tone, but there’s no TTS afterwards.
- id: ‘1647953183092’
alias: Washer
description: ‘’
trigger:- type: turned_on
platform: device
device_id: 1bd3a96a9422342d7194f17d23a5e287
entity_id: binary_sensor.washer_wash_completed
domain: binary_sensor
condition: []
action: - service: media_player.volume_set
data:
volume_level: 0.5
target:
device_id:- 1b6c4b692ea4c530d934705c6dd24270
- 4afbfeaaf40482a7ac5a95197287deeb
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0 - service: notify.alexa_media_scott_s_echo_show_8_2nd_gen
data:
message: The current washer cycle is complete
data:
type: tts
method: all
mode: single
- type: turned_on
Yes. You have to not delete the “blank” sensor from the config. Watch my video a couple replies up for a step-by-step to set this up.
EDIT: Actually, if you don’t have the timers, either, you probably missed the ENTIRE configuration section. Either that, or you didn’t restart after adding those sensors. Regardless - I recommend you watch the video since it’s all covered in real-time. Let us know if that solves it for you.
Thanks for the reply. I deleted the cards and reinstalled them, following along with your video, but I get the same result.
The blank sensor is at the end of the configuration.
blank:
friendly_name: "Blank Sensor"
value_template: ""
The hard work is done; I can live with it.
I don’t believe that the issue is with the cards. If the yaml that you posted accurately reflects your config file, then the problem is most likely that the spacing is incorrect. Yaml is very sensitive to spaces.
The sensors for washer and dryer in your config file should look like this:
washer_door_lock:
friendly_name: "Washer Door Lock"
value_template: "{{ state_attr('sensor.washer','door_lock') }}"
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 %}
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 %}
{{ state_attr('sensor.dryer', 'remain_time') }}
{% endif %}
blank:
friendly_name: "Blank Sensor"
value_template: ""
pretty sure I know the answer already… but just in case there is an easy way to infer from something else
I really want a door sensor for my LG washing machine. I currently use a separate wifi door sensor to trigger a reminder automation. if the drier is not running and washing completes, then send a notification. if the drier is running and the washing finishes then hold off sending the notification and send constant reminders once the drier finishes, there is also some things with zones, there is no point sending if we aren’t home etc.
the washing machine obviously has a door sensor built in, seems a waste its not sent via the app… plus the wife is getting annoyed when I tell her off for leaving the washing too long but its because she keeps ripping the door switch off with the washing basket and not sticking it back on
Thanks for your patience and help. I deleted everything and started over. I think part of my problem was I had originally named my entities “lg_washer” and “lg_dryer” and, even though I changed the names in yaml, something was tripping it up. So, I went back and changed the entities to match the original yaml code (“washer” and “dryer”) and it all works fine now.
Thanks again!
Looks good, but in your screenshot you’ve got part of the card yaml duplicated, hence the multiple displays under the graphic. It also looks like they are mixed up, and you have a washer and a dryer display under each. Unless you wanted it that way? But still an improvement, great work!
I just looked in entities, and sensors, and I don’t see a door open sensor that is exposed. Perhaps someone smarter than me could figure it out?
Hahaha. I’m glad I don’t do this for a living. Yes, a little bit of extra code at the bottom that I missed. I was so happy that I got the timer display to work, I didn’t even notice. Thanks.
Thanks for the helpful tips.
I just integrated my washer and it looks fantastic.
Only the display of the remaining time bothers me a bit. It is displayed in the format H:MM:SS. But the display of seconds is meaningless and is always 00. Is it possible to display the remaining time in the format H:MM?
ollo69,
I recently bought an LG dryer, model DLEX4000W . I used your integration. The sensors appear to work. Thank you !
One thing I’m wondering about is the Energy monitoring feature. This is something that LG advertises for this model and many others. In the Android app (LG Thinq), it is found under “Useful features” / “Energy usage”. However, it shows bar graphs and horizontal lines without any unit. Presumably, they are supposed to be kWh, but it’s impossible to say how many kWh each line represents - it appears to be context-dependent, ie. it changes depending on whether you are looking at the “Week”, “Month” or “Year” view. So, in fact, it is the opposite of useful.
Anyway, I was wondering if the energy consumed by the dryer (and other LG appliances) was something you could expose through the integration. If we could get the raw data, we could view it in HA properly in the “Energy” dashboard, as opposed to the broken LG Thinq app. Many thanks in advance !
I would love to do that as well with my dryer, but I haven’t found an energy monitoring plug that will work with my dryer (240V 30 amp, 4-prong, NEMA 14-30P).
Wow, for that sort of circuit a CT clamp system like a Shelly EM would work.