[mcp4461] Use register_apply_action for the four wiper actions (#19669)

This commit is contained in:
J. Nick Koston
2026-09-25 15:41:54 -04:00
committed by GitHub
parent d8696c4f28
commit 447a30da0f
5 changed files with 37 additions and 90 deletions
@@ -0,0 +1,10 @@
button:
- platform: template
name: MCP4461 Actions
on_press:
- mcp4461.wiper.increase:
id: digipot_wiper_2
- mcp4461.wiper.set_terminal:
id: digipot_wiper_2
terminal: w
enable: true
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
mcp4461: !include common.yaml
actions: !include common-actions.yaml