My first blueprint. Tested with HA Android app and Miele Washer and Dryer (using home-assistant-miele custom integration).
blueprint:
name: Notification when Washing or Drying has finished
description: Send a mobile app notification when Washing or Drying has finished
domain: automation
input:
washer_or_dryer:
name: Machine which finished
description: Which machine finished work?
selector:
entity:
domain: miele
notify_device:
name: People to notify
description: Who should we send notification to?
selector:
device:
integration: mobile_app
notify_message_title:
name: Message
description: The title of the message (eg. Washing done)
trigger:
platform: state
entity_id: !input washer_or_dryer
from: 'In use'
to: 'Finished'
action:
domain: mobile_app
type: notify
device_id: !input notify_device
message: 'at {{now().strftime("%H:%M:%S")}}'
title: !input notify_message_title
data:
ttl: 0
priority: high
channel: Washer-Dryer