Documentation ¶
Overview ¶
Package meterstatus provides functions for getting meterstatus information about units.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MeterStatusWrapper ¶
func MeterStatusWrapper(getter func() (state.MeterStatus, error)) (state.MeterStatus, error)
MeterStatusWrapper takes a MeterStatus and converts it into an 'api friendly' form where Not Set and Not Available (which are important distinctions in state) are converted into Amber and Red respecitvely in the api.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.