mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44: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"]
|
|
|
|
mcp23x08_base_ns = cg.esphome_ns.namespace("mcp23x08_base")
|
|
MCP23X08Base = mcp23x08_base_ns.class_("MCP23X08Base", mcp23xxx_base.MCP23XXXBase)
|