mirror of
https://github.com/esphome/esphome.git
synced 2026-09-29 07:50:21 +00:00
[emontx] Use register_apply_action for emontx.send_command (#19687)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
button:
|
||||
- platform: template
|
||||
name: Send lambda command
|
||||
on_press:
|
||||
- emontx.send_command:
|
||||
id: test_emontx
|
||||
command: !lambda return "l";
|
||||
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
uart_115200: !include ../../test_build_components/common/uart_115200/esp8266-ard.yaml
|
||||
emontx: !include common.yaml
|
||||
actions: !include common-actions.yaml
|
||||
Reference in New Issue
Block a user