# Recipe - Notify to an MQTT Device

Source: https://supernotify.rhizomatics.org.uk/latest/recipes/mqtt/

## Purpose

Notify by publishing to an MQTT topic, for example a siren that doesn't support the *Siren* integration.

## Implementation

Uses the [Generic Transport Adaptor](https://supernotify.rhizomatics.org.uk/latest/transports/generic/index.md).

## Example Configuration

```yaml
delivery:
  downstairs_siren:
      transport: generic
      action: mqtt.publish
      inclusion: scenario
      priority:
        - critical
      data:
        topic: zigbee2mqtt/Downstairs Siren/set
        payload: '{"warning": {"duration": 30,
                  "mode": "emergency",
                  "level": "low",
                  "strobe": true,
                  "strobe_duty_cycle": 10,
                  "strobe_level": "very_high" }}'
```
