mirror of
https://github.com/esphome/esphome.git
synced 2026-10-01 00:40:21 +00:00
[pipsolar] Use register_apply_action for output.pipsolar.set_level (#19685)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
button:
|
||||
- platform: template
|
||||
name: Pipsolar Set Level
|
||||
on_press:
|
||||
- output.pipsolar.set_level:
|
||||
id: inverter0_battery_recharge_voltage_out
|
||||
value: !lambda return 49.0;
|
||||
@@ -0,0 +1,8 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO0
|
||||
rx_pin: GPIO2
|
||||
|
||||
packages:
|
||||
uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml
|
||||
pipsolar: !include common.yaml
|
||||
actions: !include common-actions.yaml
|
||||
Reference in New Issue
Block a user