I finally got my Airgradient One test code to compile, but when I test the Action, Alexa is mute. I tested the TTS skill separately and Alexa says she is having trouble with her Simon Says skill ATM, but I don’t think that’s the main issue.
I suspect my template code is not correct.
alias: Office CO2 warning
description: "Airgradient One Office CO2 warning "
triggers:
- trigger: numeric_state
entity_id:
- sensor.i_9psl_carbon_dioxide
above: 500
conditions:
- condition: time
after: "10:00:00"
before: "02:00:00"
actions:
- entity_id: media_player.bedroom_echo_dot
data_template:
message: >-
The Office CO2 level is {{
states.sensor.sensor.i_9psl_carbon_dioxide.state}} parts per million
action: tts.home_assistant_cloud
mode: single