Versions in this module Expand all Collapse all v1 v1.3.0 Jan 6, 2023 Changes in this version + const EnvEncryptionKey + var EncryptionKeyFlag = flag.String("encryption-key", "", "esphome node API encryption key") v1.2.0 Jul 6, 2022 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)