Give a Alexa and Whattsapp alarm when Smoke Detected

Use this simple Blueprint to add smoke detectors and Areas for generating a alarm on your Alexa or WhattsApp (using Greenapi). Alexa and greenapi are useing the Area input as a variable.

blueprint:
  name: Smoke Detected Alarm
  description: Give a Alexa and Whattsapp alarm when Smoke Detected
  domain: automation
  author: Michelle Asjes
  input:
    binary_sensor:
      name: Smoke Sensor
      description: This sensor will be synchronized with the alarm.
      selector:
        entity:
          filter:
            - domain: binary_sensor
              device_class: smoke
    area:
      name: Area
      description: Area of the alarm.
      selector:
        area:
 
variables:
    text: !input area
triggers:
  - trigger: state
    entity_id: !input binary_sensor
    from: "off"
    to: "on"
conditions: []
actions:
  - action: switch.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: switch.alarm
  - action: notify.alexa_media_bedroom
    metadata: {}
    data:
      message: "Alarm Alarm Smoke detected in {{ text }} Alarm  Alarm"
  - action: notify.alexa_media_living
    metadata: {}
    data:
      message: "Alarm Alarm Smoke detected in {{ text }} Alarm  Alarm"
  - action: notify.greenapi
    metadata: {}
    data:
      message: "Alarm Alarm Smoke detected in {{ text }} Alarm  Alarm"
mode: single

Hello Mies Asjes,

Thanks for contributing to the community with a new Blueprint.

I have a suggestion for you. Many people who are not familiar with directory structures will have problems installing this without the Home Assistant MY tools.
Adding a MY link for this Blueprint to your top post would help them a lot.

Here is the link to make that.
Create a link – My Home Assistant