I think I’m just missing something in the syntax and could use the help. I’d like to pass the thermostats value in a message to my phone. This is the automoation’s yaml:
description: “”
mode: single
trigger:
- platform: state
entity_id:- sensor.kitchen_thermostat_air_temperature
to: null
condition:
action:
- sensor.kitchen_thermostat_air_temperature
- service: notify.mobile_app_mobile_myphone
data:
message: " {{ sensor.kitchen_thermostat_air_temperature }} "
alias: air temp
Thanks