Pseudo Smart Laundry

Afternoon All,

I was wondering if someone could help me / point me in the right direction.

I’m looking to add my standard ‘dumb’ washing machine to home assistant.

I’m not looking for precision (ie power draw) just information (ie time left / notification) so don’t really want to go down the power useage checking (yet, I do have a sonoff POW but work and children get in the way of messing with it).

Basically what I want to achieve is a card with the following:

Washing Machine
30 Wash
40 Wash

Washload time left: 75 minutes

As I know the wash times for both the main options I chose I just want to choose ‘30 Wash’ or ‘40 Wash’ to drive a countdown timer and send a notification.

I know how to set up the above as input booleans and scripts to run a timer to push a pushbullet to my phone.

The help I need is showing a countdown timer to call off the remaining minutes.

I have tried messing with this:

Custom Count Down Component

Which works if I set the “date” before booting but makes it quite redundant as I could not figure out how to set this ‘on the fly’:

- platform: date_countdown
  name: Washing
  date: "07-01-2018 14:00"

# Tried seeing if I could pull the date and then add x minutes but wasn't too sure how to implement
# >-
#        {{ states.sensor.time_date.attributes.date_time }}
- platform: template
  sensors:
    wash_time:
      friendly_name: Wash Ready In
      unit_of_measurement: 'minutes'
      value_template: >-
        {{ states.sensor.washing.attributes.minutes }}

As I’m sure the above is not the way to go can anyone point me in the right direction, again just the count down bit the rest I’m sure I can handle.