I created a sensor from the data that the smoke alarm sends:
sensor:
platform: template
sensors:
basement_smoke_alarm_status:
friendly_name: 'Basement Smoke Alarm Status'
value_template: >-
{% if is_state("sensor.smoke_co_alarm_1_alarm_level", "255") and is_state("sensor.smoke_co_alarm_1_alarm_type", "1")%}
Smoke!
{% elif is_state("sensor.smoke_co_alarm_1_alarm_level", "255") and is_state("sensor.smoke_co_alarm_1_alarm_type", "2")%}
CO!
{% elif is_state("sensor.smoke_co_alarm_1_alarm_level", "0") and is_state("sensor.smoke_co_alarm_1_alarm_type", "12")%}
Testing
{% else %}
OK
{% endif %}
icon_template: >-
{% if is_state("sensor.smoke_co_alarm_1_alarm_level", "255") and is_state("sensor.smoke_co_alarm_1_alarm_type", "1")%}
mdi:fire
{% elif is_state("sensor.smoke_co_alarm_1_alarm_level", "255") and is_state("sensor.smoke_co_alarm_1_alarm_type", "2")%}
mdi:cloud-outline
{% else %}
mdi:smoke-detector
{% endif %}
And after that you should be able to set up an alert using the status of that sensor created above.