I have an automation. I want to send the value of the door to telegram.
I wrote this in action but it does not working.
service: notify.telegram
data:
title: Main Entrance
message: Main entrance door is {{ binary_sensor.lumi_main_entrance_door_on_off }}