mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 10:14:13 +01:00
570ec36fe3
* Refactor MCP23XXX classes to consolidate shared code * Update test mcp23xxx pin schemas
8 lines
278 B
Python
8 lines
278 B
Python
import esphome.codegen as cg
|
|
from esphome.components import mcp23xxx_base
|
|
|
|
AUTO_LOAD = ["mcp23xxx_base"]
|
|
CODEOWNERS = ["@jesserockz"]
|
|
|
|
mcp23x17_base_ns = cg.esphome_ns.namespace("mcp23x17_base")
|
|
MCP23X17Base = mcp23x17_base_ns.class_("MCP23X17Base", mcp23xxx_base.MCP23XXXBase)
|