Setting up notifications for dryer when cicle ends

Hello everyone,

I have been following this tutorial to setup a proper way to be notified regarding when my dryer finishes a cycle (I am using a power meter to detect this), since if I don’t open the door, it will rotate once per 2 mins for 30 minutes, and this gives ~300W spikes: Dryer Done Notifications with Home Assistant and Iotawatt | Relentless Optimizer

But when I try to apply that, I can see from my end this over webgui and don’t know if this is expected since on Visual Studio (HA addon) it’s all good, no warnings/errors (cannot even find that Entity):

automations.yaml:

- id: '1745012037594'
  alias: '[telegram_notifier] Fim do ciclo na Máquina de secar'
  triggers:
  - trigger: state
    entity_id:
    - binary_sensor.dryer_running
    from: 'on'
    to: 'off'
  conditions: []
  actions:
  - action: notify.telegram_notifier
    metadata: {}
    data:
      message: A Máquina de Secar a Roupa terminou o ciclo.

configuration.yaml:

binary_sensor:
  - platform: template
    sensors:
      dryer_running:
        friendly_name: "Dryer Running"
        delay_on: "00:06:00"
        delay_off: "00:02:00"
        value_template: >-
          {{ states('sensor.96ae6b3633cd4ed901ca32cf3a57272e')|float > 300 }}

The entity ID sensor.96ae6b3633cd4ed901ca32cf3a57272e does not follow the normal pattern, did you name it that way?

Have you confirmed that the entities sensor.96ae6b3633cd4ed901ca32cf3a57272e and/orsensor.dryer_running exist?

You can look for them in the Entities table or the States tool.

You may also want to take a look in the Blueprint Exchange. There are a few existing blueprints to handle these situations. I have used both sbyx’s and Blacky’s blueprints, and they both work well.

1 Like

Thank you for pointing me out those blueprints (!), I was just searching for blueprints related with dryers because I think this a something expected on all.

Will try that one with hysteresis, seems interesting!

Thank you @Didgeridrew .