šŸ“³ Appliance Notifications & Actions - Washing Machine - Clothes Dryer - Dish Washer - ETC

@dovy6

Thanks for the info! For this option, we’ll need to use tags. What tags allow us to do is replace the old notification with your new message. I’ll then create an option to clear the message when the Reminder Notification Entity is used. That way, others will know it’s been handled. I might even add a little extra flair… but you’ll have to wait and see!

All good on the coding side… easy enough to do. But thanks for offering to help!

Blacky :grinning:

Hi, I am using your blueprint for my washingmachine, dishwasher etc, and they all work great!!
Now I wanted to create one for my carcharger. All the other appliances are connected to smartplugs, the charger is not.
Still, I have power sensors, energy sensors, so I thought this would be possible to set up.
But for some reason it’s not working.
Here is my yaml-code:

alias: Easee laadsessies
description: ""
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    power_sensor: sensor.25_vermogen
    include_start_notify: enable_start_notify_options
    start_notify_device:
      - a529b70b25db87bd10e8ba76bad4879f
    start_title: Easee Laadpaal
    start_message: Laden R5 is gestart.
    include_end_notify: enable_end_notify_options
    end_notify_device:
      - a529b70b25db87bd10e8ba76bad4879f
    end_message: Laden R5 is gestopt.
    end_message_title: Easee Laadpaal
    include_power_tracking: enable_power_tracking_and_cost
    end_message_cost: Stroomkosten ongeveer €
    include_duration_tracking: enable_duration_tracking
    end_message_duration_tracking: Duur
    include_cycle_counter: enable_cycle_counter_and_notify
    cycle_counter_end_message: Totaal aantal laadsessies
    power_consumption_sensor: sensor.25_levensduur_verbruik
    end_message_kwh: Verbruik Laadpaal
    cost_per_kwh: sensor.actueel_energietarief
    start_power_consumption: input_number.easee_laadpaal_start_kwh
    end_power_consumption: input_number.easee_laadpaal_einde_kwh
    cycle_counter_helper: counter.easee_laadpaal_uses
    include_custom_actions: []
    end_custom_actions:
      - if:
          - condition: state
            entity_id: sensor.25_stroom
            attribute: state_inCurrentT2
            state: "0"
            for:
              hours: 0
              minutes: 5
              seconds: 0
        then:
          - action: counter.increment
            metadata: {}
            data: {}
            target:
              entity_id: counter.easee_laadpaal_uses
        enabled: false
    end_appliance_power: 10
    start_notify_data:
      - high_priority
    end_notify_data:
      - high_priority

Could you have a look and tell me where I go wrong.
sensor.25_vermogen = power in kW. (session)
sensor.25_levensduur_verbruik = energy in kWh (accumulative)
Thanks!

@Maynstream

First have you seen the new blueprint?

:battery: Battery Charger Notifications & Actions

Blacky :grinning:

1 Like

No, I haven’t. So it’s best to use that one I guess? I’ll have a look, thanks.

@Maynstream

Yes, as it is more tailored for charging batteries, maybe even cars. Let me know if you need any help on that thread or if you have any suggestions.

Blacky :grinning:

1 Like

New Update 3.3

:thinking: Watts your appliance up to, you’re always in the know from start to finish! :bellhop_bell: :electric_plug: :money_with_wings:

:new: New Features

  • Notification Tags - Use a tag to keep your notifications organized. When a new notification with the same tag is sent, it replaces the old one, preventing clutter from multiple notifications for the same appliance.

  • Reminder Notification Options - Added two new options:

    • Enable Reminder Notification + Notify When Done: Receive repeated reminders until the Reminder Notification Entity is ON or the maximum notification count is reached. When the entity turns ON, a one-time notification will be sent using the Notify When Done Message.

    • Enable Reminder Notification + Clear When Done: Receive repeated reminders until the Reminder Notification Entity is ON or the maximum notification count is reached. When the entity turns ON, the notification will be cleared.

If you like this blueprint? Consider hitting the :heart: button in the top post :+1:

If you like my blueprints, and would like to show your support or just say thank you? Click Here :smiling_face_with_three_hearts:

Enjoy

Blacky :grinning:

1 Like

Great blueprint here. Is it possible to add support for the notification timeout value and the notification icon on the android side? I can takeover the blueprint and add it manually in the notification section, but it would be nice to have it built-in. :money_with_wings:

@sdholden28

Using the ā€œtake overā€ option often defeats the purpose of blueprints, which are designed to be reusable, manageable, and updatable, without needing to dive into custom YAML unless absolutely necessary. Once someone uses ā€œtake over,ā€ they:

• Lose automatic updates
• Risk breaking changes when modifying internal logic
• Often end up duplicating blueprint features unintentionally

I’ve never been a fan of this option.

Instead, I recommend using custom actions. They offer the flexibility to add personal logic while still preserving all the benefits of the blueprint model, including versioning, structure, and future-proofing.

That said, thanks for your suggestion and it has been noted in the list.

Blacky :grinning:

1 Like

Did you have a chance to look at this. So one can set a custom notification icon?
I couldn’t find it in the change logs between 2.8 (where I made the changes and 3.2)

Thanks for the reply! I’m aware of the ramifications of ā€œtaking overā€, and I’m aware of the custom actions. I use custom actions already to set booleans and timers for other things. Custom actions don’t fire when the reminder notifications go out though, so in this case it would not be useful (except for the one-time notification) unless I rewrote the reminder notifications logic all within a custom action. Hence my request for the additions. :slightly_smiling_face:

1 Like

This is hands down the most useful blueprint I run, and invoked second only to the adaptive lighting one you wrote. But suddenly it’s not speaking at the end of the cycle. The automation trips. My phone gets a notification, but piper doesn’t speak anymore. I don’t think I’ve changed anything, as other automations that have piper continue to work.

My trace however, gets stuck on Watchdog, and disabling watchdog doesn’t seem to change anything.

@dunky13

Sorry Marc, I was going to look at it but didn’t :pensive:. Thanks for checking in again. I’ve got it now and had a quick look — interesting stuff. Let me do some testing and thinking.

My only concern is that users will need to know what to put in there, and I like my blueprints to be easy to use with no YAML experience.

Blacky :grinning:

@EdKennedyWV

Thanks for your kind words. This seams strange… could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā€œ</>ā€ and paste code in there.

Blacky :grinning:

alias: Washing is done
description: >-
  Monitors power usage on washer and notifies phone as well as (experimental)
  text-to-speech on Sonos
use_blueprint:
  path: Blackshome/appliance-notifications.yaml
  input:
    service_reminder_counter_helper: counter.washing_machine_cycle_counter
    power_sensor: sensor.entrance_washing_machine_plug_power
    running_dead_zone: 4
    include_end_notify: enable_end_notify_options
    end_notify_device:
      - b924f0fce5b5786c8b90ebba36c732f4
    end_notify_interruption_level: critical
    end_notify_sound: 3rdParty_Stop_Haptic.caf
    end_reminder_notification: enable_reminder_notification_clear
    include_custom_actions:
      - enable_end_custom_actions
    include_power_tracking: enable_power_tracking_and_cost
    include_service_reminder: enable_service_reminder
    service_reminder_end_message: āš ļø It is time to clean the washer!
    end_custom_actions:
      - action: tts.speak
        target:
          entity_id: tts.piper
        data:
          cache: true
          media_player_entity_id: media_player.cave_era_100
          message: Washing cycle complete
      - action: tts.speak
        target:
          entity_id: tts.piper
        data:
          cache: true
          media_player_entity_id: media_player.tv_samsung75
          message: Laundry is ready
      - action: tts.speak
        target:
          entity_id: tts.piper
        data:
          cache: true
          media_player_entity_id: media_player.android_tv_192_168_50_173
          message: Get your laundry out
      - action: tts.speak
        target:
          entity_id: tts.piper
        data:
          cache: true
          media_player_entity_id: media_player.office
          message: Laundry is complete
      - action: notify.mobile_app_eds_iphone
        metadata: {}
        data:
          message: Washing cycle complete
          title: iPhone notification
      - action: persistent_notification.create
        metadata: {}
        data:
          message: Washing machine is done
          title: Washing Machine Is Done
    power_consumption_sensor: sensor.entrance_washing_machine_plug_power
    cost_per_kwh: input_number.electricity_cost_2
    end_time_delay: 5
    cycle_counter_helper: counter.washing_machine_cycle_counter
    end_reminder_notification_entity: binary_sensor.washing_machine_lid_door
    end_reminder_notification_max_count: 5
    start_power_consumption: input_number.washing_machine_energy_consumption_begin
    end_power_consumption: input_number.washing_machine_energy_consumption_end
    include_cycle_counter: enable_cycle_counter_and_notify
    include_watchdog: disable_watchdog
    watchdog_notify_interruption_level: time-sensitive
    end_notify_tag: washing-tag
    end_appliance_power: 1

@EdKennedyWV

Thanks for your YAML of your settings.

It all looks good.

The run order of the automation is;

  1. I will skip the start and move on
  2. Watchdog… it goes past that step as you said your getting notified.
  3. It will start recording all the counts, service etc and you go past that.
  4. Custom end actions and you go past that. This is done before the end notification. I tested it here again and this works. You should see this in the trace an the heading is Perform the custom end action. Have a look there.
  5. End notification and you receive it so your getting to the end.
  6. It will then do the reminder 5 time every 10 min unless you open the lid and then it will clear your notification.

Blacky :grinning:

Perhaps I missed this…
Is there a way to disable the end notification when we’re not home? I saw mention of this earlier and you (@Blacky) said that one could use a global condition but that it’s only checked when the automation starts. I’m using the blueprint for a washer and dryer. It seems like the only real use case is that someone starts the appliance, then leaves the house. It’s not a huge deal, but it would be nice to suppress the notifications if no one is home.

I like my blueprints to be easy to use with no YAML experience.

And I think that really helps with the setup of the blueprints. That’s why I called it overrides (you could call it Advanced Yaml Overrides). It allows users to make changes if they want, but don’t need to do so, as it would be optional

1 Like

@dancrocker

Yes that is correct if you use a global condition it not perfect. I do have it on my list to develop so it will come but I just don’t know when I am going to do it and it will flow through most of my blueprints.

Blacky :grinning:

No worries. I just wanted to be sure something like didn’t already exist. And yes, I can totally see how a change like this would ripple through the code.

@dancrocker

Looks like your wait will only be about 4 days. Stay tuned.

Blacky :grinning: