I have an automation setup to send a notification to my phone when Alarmo is triggered. I made an input helper that is set to identify which door has been opened. I’m trying to get the notification to include this value.
input_select.door currently has three possible values: Garage, Front and Basement.
When the automation is set to use this as the action and I try to save it, I get an error message telling me that there is an "Error in parsing YAML: bad indentation of a mapping entry (line: 193, column 63).
Line 63 is the line that starts with message and has the templating. I’m not sure where to start counting to get the column number that it has an issue with but if I start at the very far left, the 63rd character is the Capital D in Door.
- action: notify.mobile_app_pixel_9_pro_xl
metadata: {}
data:
title: Trigger Security Breach
message: {{states('input_select.door_opened')}} Door Has Been Opened!
enabled: true
But if I if I place that same line in the template tab of the Dev tools page, it works fine. See screenshot below.