/mega_universal.yaml Secret
Last active
August 3, 2021 08:14
Универсальный шаблон на события из меги
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: "MEGA: универсальный" | |
description: Привязка выключателей MegaD к любому произвольному action | |
domain: automation | |
input: | |
sensor: | |
name: Выключатель | |
selector: | |
entity: | |
integration: mega | |
domain: binary_sensor | |
type: | |
name: Тип нажатия | |
selector: | |
select: | |
options: | |
- single | |
- long | |
- double | |
- release | |
- long_release | |
- press | |
default: single | |
action: | |
name: Действия | |
selector: | |
action: | |
trigger: | |
- platform: event | |
event_type: mega.binary | |
event_data: | |
entity_id: !input sensor | |
type: !input type | |
action: !input action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment