Send message when heating switches on

I want to make a simple automation. When the my radiator (Tado) switches to heating, send a message to my phone. The trigger doesn’t work and I don’t know what I’m missing…

alias: Signal heating on
description: ''
trigger:
  - platform: device
    device_id: a754a445c49d51a72acac8b9f46e2683
    domain: climate
    entity_id: climate.werkkamer
    type: hvac_mode_changed
    to: heat
condition: []
action:
  - device_id: e8ef7cff1eaeeefe195545f964c3edaf
    domain: mobile_app
    type: notify
    message: AAN
    title: werkkamer
mode: single
alias: Monitor heating
trigger:
  - platform: state
    entity_id: climate.werkkamer
    attribute: hvac_action
    to: heating
action:
  - device_id: e8ef7cff1eaeeefe195545f964c3edaf
    domain: mobile_app
    type: notify
    message: AAN
    title: werkkamer
1 Like

Thank you. This works!
I misunderstood the meaning of hvac_mode.

1 Like