Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEVICE_INFORMATION = "status" DEVICE_VERSION = "status+2" DEVICE_NETWORK = "status+5" DEVICE_ENERGY = "status+8" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerDevice ¶
type PowerDevice struct { Information Metadata // contains filtered or unexported fields }
func (PowerDevice) DeviceInformation ¶
func (p PowerDevice) DeviceInformation(ctx context.Context) (Device, error)
func (PowerDevice) Status ¶
func (p PowerDevice) Status(ctx context.Context) (PowerStatus, error)
type PowerStatus ¶
Click to show internal directories.
Click to hide internal directories.