I have a new phone so I edited the Device ID of my existing automations through with UI.
Problem is, obviously this caused an issue with my YAML, because the below stopped working (if I remove the dynamic part, it works)
alias: Controlo RH Guitarra
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.humidity_158d0004836b9a
above: "58"
- platform: numeric_state
entity_id: sensor.humidity_158d0004836b9a
below: "47"
condition: []
action:
- device_id: 61ec70129526a977860e5e198bb34583
domain: mobile_app
type: notify
message: "Humidade Guitarra é %{{trigger.to_state.state}}%"
mode: single
What’s wrong there?