How do call the trigger 25 numeric number in the message under action for the logic below?
- alias: livingroom_ac_on_when_temp_32
trigger:
- platform: numeric_state
entity_id:
- sensor.livingroom_sbm_temperature
above: 25
for: '00:10:00'
condition:
condition: and
conditions:
- condition: state
entity_id: binary_sensor.duc_home
state: 'on'
- condition: state
entity_id: binary_sensor.livingroom_temp_thres_on
state: 'off'
- condition: state
entity_id: switch.ac_unit
state: 'off'
action:
- service: notify.alexa_media
data_template:
data:
type: tts
target:
- media_player.ai_1
message: 'The temperature is above {{ ask alexa to say 25 in trigger }} degrees. I have turn on the ac. Please shut door and close windows.'
- service: switch.turn_on
entity_id: switch.ac_unit