mirror of
https://github.com/esphome/esphome.git
synced 2026-10-16 11:12:52 +00:00
15 lines
297 B
YAML
15 lines
297 B
YAML
# on_value with both trigger arguments.
|
|
select:
|
|
- platform: template
|
|
name: Select Triggers
|
|
id: select_triggers
|
|
optimistic: true
|
|
options:
|
|
- one
|
|
- two
|
|
- three
|
|
on_value:
|
|
- logger.log:
|
|
format: "Selected %s at %zu"
|
|
args: [x.c_str(), i]
|