Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InverterUpdate ¶ added in v0.14.0
type Publisher ¶
type SiteUpdate ¶ added in v0.14.0
type SiteUpdate struct { ID int Name string PowerOverview solaredge.PowerOverview InverterUpdates []InverterUpdate }
type SolarEdgeClient ¶ added in v0.14.0
type SolarEdgeClient interface { GetSites(ctx context.Context) (solaredge.GetSitesResponse, error) GetPowerOverview(ctx context.Context, id int) (solaredge.GetPowerOverviewResponse, error) GetComponents(ctx context.Context, id int) (solaredge.GetComponentsResponse, error) GetInverterTechnicalData(ctx context.Context, id int, serialNr string, startTime time.Time, endTime time.Time) (solaredge.GetInverterTechnicalDataResponse, error) }
type SolarEdgeUpdate ¶ added in v0.14.0
type SolarEdgeUpdate []SiteUpdate
type SolarEdgeUpdater ¶
type SolarEdgeUpdater struct {
SolarEdgeClient
}
func (SolarEdgeUpdater) GetUpdate ¶
func (c SolarEdgeUpdater) GetUpdate(ctx context.Context) (SolarEdgeUpdate, error)
type TadoUpdater ¶
type TadoUpdater struct { Client WeatherGetter HomeId tado.HomeId }
type WeatherGetter ¶
Click to show internal directories.
Click to hide internal directories.