energyVenueID
TypeScriptget energyVenueID(): stringSwift declarationlet energyVenueID: UUIDAn identifier for the physical location to which the guidance applies.
struct · iOS 26.0+ · SDK 27.1
struct ElectricityGuidanceA data model that provides guidance on when electricity is cleaner and less expensive. `ElectricityGuidance` provides information on grid quality and electricity cost, if cost information is available. You can use `ElectricityGuidance` to adjust the electricity consumption of your managed devices to times when electricity is cleaner, and optionally reduce the overall electricity consumption or cost of your managed devices.
get energyVenueID(): stringSwift declarationlet energyVenueID: UUIDAn identifier for the physical location to which the guidance applies.
get guidanceToken(): stringSwift declarationlet guidanceToken: UUIDA unique token for the guidance that you use to create an electrical load event. Use the unique token to create an ``ElectricalLoadEvent``.
static get sharedService(): ElectricityGuidance_ServiceSwift declarationstatic let sharedService: ElectricityGuidance.ServiceA single, shared guidance service object. Use this object to interact with guidance services in your app.
get suggestedAction(): ElectricityGuidance_SuggestedActionSwift declarationlet suggestedAction: ElectricityGuidance.SuggestedActionA property that describes how the electrical load uses the guidance. An example of suggested actions for the load could be shift-able or reduce-able.
get values(): Array<ElectricityGuidance_Value>Swift declarationlet values: [ElectricityGuidance.Value]A series of weighted values for intervals of time, describing when to shift or reduce electricity use.
get options(): Array<ElectricityGuidance_Options>Swift declarationlet options: Set<ElectricityGuidance.Options>The additional factors that influence the weight of a value. A person's utility rate plan is an example of an additional factor that influences the weight of the value.
get interval(): _Foundation_DateIntervalSwift declarationlet interval: DateIntervalThe time range to which the guidance applies.
No declarations were skipped in this snapshot.