def
func:energyStarOnsiteRenewableDetailWrite
energyStarOnsiteRenewableDetailWrite(conn, meterId, detail)
Write onsite green power renewable details. See https://portfoliomanager.energystar.gov/webservices/home/api/meter/onsite/post for details on this API request.
meterId: The meter id of the meter to write details fordetail: A Dict containing the details to write. The structure of this Dict must adhere to theonsiteRenewableDetail.xsdschema specified by the API in the link above. It is your responsibility to construct a details that meets the semantic constraints of the api - this func does constraint checking.
detail: {currentAsOf: 2024-12-06, energyUsedOnsite: {recOwnership: "Owned"}, energyExportedToGrid: {recOwnership: "Owned"}}
energyStarOnsiteRenewableDetailWrite(conn, meterId, detail)
meta
| admin | ✓ |
|---|---|
| def | func:energyStarOnsiteRenewableDetailWrite |
| is | func |
| lib | lib:energyStar |
| name | energyStarOnsiteRenewableDetailWrite |