import "code.pfad.fr/gohmekit/contrib/shelly"
func NewDeviceMqtt(client contrib.MQTT) (accessory.Basic, error)
NewDeviceMqtt currently supports only Plug-S devices. The mqtt-client should expose the right 'shellies/<device-name>' topic prefix.
func NewPlug(addr string) (accessory.Basic, error)
NewPlug creates a proxy to a Shelly Plug S device, via HTTP.
mqtt.go plug.go