Versions in this module Expand all Collapse all v1 v1.1.0 Jun 13, 2022 v1.0.0 May 21, 2021 Changes in this version + const EnvHostAddress + const EnvPassword + var HostAddressFlag = flag.String("address", "", ...) + var PasswordFlag = flag.String("password", "", "esphome node API password") + var TimeoutFlag = flag.Duration("timeout", 10 * time.Second, "communication timeout") + func GetClient(handlerFunc func(msg proto.Message)) (*esphome.Client, error)