I2C expander used in relay boards. You likely must have this configured.
By default one relay board has 2 MCP23017 installed.
- id: mcp1
- id: mcp2
- id (Required, string) - ID to use. It’s internal usage only, but you need to define it so you can define output pins properly.
- address (Required, string) - I2C address of the device
- init_sleep (Optional, timeperiod, default: 0s) - how long to wait for MCP23017 to respond. Some MCP23017 has delay during initializing. This option will wait for X second for device to respond.