ESPHome custom module and example configuration to drive LCTech Inc. multi-channel relay modules. Tested on a late-2020 12V, 4-channel version with a nuvoton MCU.
cp 4ch-relay.yaml.dist my-4ch-relay.yaml
$EDITOR my-4ch-relay.yaml # edit where it says "XXX_CHANGEME_XXX"
esphome my-4ch-relay.yaml run
Copyright © 2021 Kai Fabian -- MIT license. See LICENSE.md for the specific licensing conditions.
Loosely based on esphome-lctech-4chanel-modules
by Andres 'Necromant' Andrianov.