mirror of
https://github.com/esphome/esphome.git
synced 2026-10-17 03:32:50 +00:00
12 lines
256 B
YAML
12 lines
256 B
YAML
# on_value with the new text as trigger argument.
|
|
text:
|
|
- platform: template
|
|
name: Text Triggers
|
|
id: text_triggers
|
|
optimistic: true
|
|
mode: text
|
|
on_value:
|
|
- logger.log:
|
|
format: "Text is %s"
|
|
args: ["x.c_str()"]
|