Removed unused blueprint in Test folder
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
# =============================================================================
|
||||
# MQTT Multi-Topic Listener Blueprint (Test)
|
||||
# =============================================================================
|
||||
# A simple test blueprint that listens to multiple MQTT topics and creates
|
||||
# persistent notifications when messages are received on matching topics.
|
||||
#
|
||||
# Use Cases:
|
||||
# - Debugging MQTT message flow
|
||||
# - Testing topic subscriptions
|
||||
# - Monitoring specific MQTT topics
|
||||
#
|
||||
# Author: Alexei Dolgolyov (dolgolyov.alexei@gmail.com)
|
||||
# =============================================================================
|
||||
|
||||
blueprint:
|
||||
name: MQTT Multi-Topic Listener
|
||||
domain: automation
|
||||
input:
|
||||
mqtt_topics:
|
||||
name: MQTT Topics
|
||||
description: List of topics to react to
|
||||
selector:
|
||||
text:
|
||||
multiple: true
|
||||
default: []
|
||||
|
||||
trigger:
|
||||
- platform: mqtt
|
||||
topic: "#"
|
||||
|
||||
action:
|
||||
- variables:
|
||||
mqtt_topics: !input mqtt_topics
|
||||
received_topic: "{{ trigger.topic }}"
|
||||
received_payload: "{{ trigger.payload }}"
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ received_topic in mqtt_topics }}
|
||||
sequence:
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
title: "Debug Info"
|
||||
message: >
|
||||
{{ trigger.topic }}
|
||||
Reference in New Issue
Block a user