mirror of
https://github.com/esphome/esphome.git
synced 2026-09-28 23:40:25 +00:00
[mcp4461] Use register_apply_action for the four wiper actions (#19669)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user