mirror of
https://github.com/esphome/esphome.git
synced 2024-11-16 03:58:09 +01:00
6 lines
117 B
YAML
6 lines
117 B
YAML
button:
|
|
- platform: template
|
|
name: Button
|
|
id: some_button
|
|
on_press:
|
|
- logger.log: Button pressed
|