Automation HAT Mini
Automation HAT Mini is a home monitoring and automation controller for the Raspberry Pi; with a relay, analog channels, powered outputs, and buffered inputs. All 24V tolerant. It also has a 0.96" mini display for status information.
To get Automation HAT Mini set up and ready to go you can use the one-line product installer:
curl -sS https://get.pimoroni.com/automationhat | bash
Then import it into your Python script and start tinkering:
import automationhat automationhat.relay.one.on()