[emontx] Use register_apply_action for emontx.send_command (#19687)

This commit is contained in:
J. Nick Koston
2026-09-26 01:34:52 +01:00
committed by GitHub
parent 3f2de92e5d
commit a35299af0b
5 changed files with 27 additions and 32 deletions
@@ -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