Skip to content

Instantly share code, notes, and snippets.

@mikey0000
Created September 5, 2024 19:53
Show Gist options
  • Save mikey0000/0cc2d7505a2e3b5fe6831688f7aa7726 to your computer and use it in GitHub Desktop.
Save mikey0000/0cc2d7505a2e3b5fe6831688f7aa7726 to your computer and use it in GitHub Desktop.
Automation sample for alerting a user when their Mammotion lawm mower is locked.
alias: Mower Locked Alert
trigger:
- platform: state
entity_id:
- sensor.luba_2_activity_mode
to: MODE_LOCK
action:
- action: notify.mobile_app_my_phone
data:
title: WARNING Mower Locked!
message: Lift sensor triggered
data:
image: /local/warning.png
channel: alarm_stream
tag: mower_alert
importance: max
visibility: public
notification_icon: mdi:robot-mower
clickAction: /home/mower
ttl: 0
priority: high
color: red
@AlohaFlyer
Copy link

This is helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment