rianadon / timer-bar-card

A progress bar display for Home Assistant timers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HomeWhiz Washer/Dryer - Duration vs Remaining

n00bcodr opened this issue Β· comments

I have a HomeWhiz compatible Washer and am wondering how to implement it in the bar.

It gives two entities, duration and remaining time. The time is in minutes.

sensor.bob_duration

image

sensor.bob_remaining

image

PS: Yes, my washer is called Bob πŸ˜„

Hi there!

If you have access to the times Bob starts and finishes :), I recommend you use these values plus the duration to specify the time. Otherwise, you can use remaining time. The section on remaining time in the README explains what values you'll need to pair with the remaining time.

Hey, did you get this working? I have a Beko washing machine and I'm trying to get the card working but I'm not sure if I need to create a custom sensor or just use the info in the card.

So far my progress is:

type: custom:timer-bar-card
debug: true
entities:
  - entity: sensor.izaura_remaining_time
    active_state: sensor.izaura_state
    duration:
      attribute: timespan
      units: minutes

but the card looks like this:
image
Don't really know what is needed to make the bar appear.

If it helps in anyway, the device exposes:
image

The duration changes based on the program selected and the remaining time remains 1 even if the state goes to off.

@GigiPompieru I'm a bit confused looking at your current config. You have:

    duration:
      attribute: timespan

but the debug information in the card is showing that the sensor.izaura_remaining_time entity doesn't have any timespan attribute. Maybe you meant to use state: true to set from the entity's state?

Thanks for posting all the entities by the way! This is how I'd set up the card with them:

type: custom:timer-bar-card
debug: true
entities:
  - entity: sensor.izaura_state
    active_state: on
    duration:
      entity: sensor.izura_duration
    remaining:
      entity: sensor.izura_remaining_time
      units: minutes

this got it working

type: custom:timer-bar-card
entities:
  - entity: sensor.izaura_state
    active_state: device_state_running
    duration:
      entity: sensor.izaura_duration
      units: minutes
    remaining:
      entity: sensor.izaura_remaining_time
      units: minutes

Screenshot_20240105_230752_Home Assistant

Nice job! That does look like it is working. If you'd like to create an integration doc and copy paste your card configuration & screenshots, I can add it to the README to help anyone else with a HomeWhiz device.

I'll close this issue since you have a successful configuration. @n00bcodr here's your answer 😁