# Get a notification when the washingmachine is ready

**URL:** <https://community.homey.app/t/get-a-notification-when-the-washingmachine-is-ready/9372>\
**Category:** Flows\
**Tags:** flow\
**Created:** [February 18, 2019, 7:59pm UTC](https://community.homey.app/t/get-a-notification-when-the-washingmachine-is-ready/9372 "2019-02-18T19:59:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [February 19, 2019, 5:18pm UTC](https://community.homey.app/t/get-a-notification-when-the-washingmachine-is-ready/9372/6 "2019-02-19T17:18:43Z")

</div>

**Now it’s time to see the actual cost of a washingmachine cycle**

In the above examples i used the “This flow is started” trigger. There is an issue with this atm. This flow will actually fire dispite the fact it is disabled! So for the meanwhile i created a virtual swith for this. Go add a device, pick Homey for the brand and pick “Virtual Switch” as device.  
In my example i called it “WashingmachineVirtual”.

**Make an extra variable**

For the cost of the cycle we need to know what the cost is of 1 KwH so we need to set that. Make an extra variable and make it a number variable. In my case i called it “KwHtarief”.

**Now we need to make 2 extra flows**

First flow is to set the normal tariff (daytime). Find the cost of a KwH with your supplier.

 ![1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/be0d8a3074f613cb569dd4cb4b131abc8c258e4f.jpeg)

2nd is for the low tariff (nighttime)

 ![2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/3860f8668011227b9670d9a8b9013911d147d3d4.jpeg)

**Now it’s time to adjust the flows we made in the first post.**

This is what your first flow should look like:

 ![3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/c/c8291f0f80f61426cb93720e3ed882ab51ceb021.jpeg)

And this is what your 3rd flow should look like:

 ![4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/87cb5646c41fc5d609aac952db610e526f392778.jpeg)

**We also need to adjust the 2 flows from the 2nd post.**

 ![chrome_2019-03-03_17-44-35](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e002eec8235fce7c792e787af3548b54158918aa.png)

 ![chrome_2019-03-03_17-44-45](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/1a602192d8e7b81880a99a3ddfabc59de814a328.png)

---

_[View the full topic](https://community.homey.app/t/get-a-notification-when-the-washingmachine-is-ready/9372)._
