I took a different approach due to the fact that my automation went crazy every now and then. I took:
sensor:
- platform: statistics
name: statistics op wasmachine value
entity_id: sensor.energy_washing_machine
And for the automation part
automation:
- alias: ‘Wasmachine notify’
trigger:
platform: numeric_state
entity_id: sensor.statistics_op_wasmachine_value_mean
below: 2
action:- service: notify.pushbullet
data:
title: “'Wasmachine”
message: “De wasmachine is klaar”
- service: notify.pushbullet