Templating email messages with sensor attributes

Trying to send an email notification with a sensor attribute in it…

My Elk alarm control panel (alarm_control_panel.elk_area_1) has an attributes.Alarm that has the alarm message, trying to transmit this as an email message.

Would I do this like:

message: "Burglar Alarm Activated. Elk Message: {{states('alarm_control_panel.elk_area_1.attributes.Alarm')}}"

I use

message: "Burglar Alarm Activated. Elk Message: {{ states.alarm_control_panel.elk_area_1.attributes.Alarm }}"

Thanks, that works - except apparently that attribute isn’t being updated… maybe an elk interface issue.