Repository navigation
feat: send summaryCostFromItemizedCharges quirk for Burlington Hydro - #106
Closed
rocketraman wants to merge 1 commit into
Closed
rocketraman wants to merge 1 commit into
rocketraman wants to merge 1 commit into
Conversation
Burlington bills Halton Region water every other month on the electricity bill with no line item for it, and billLastPeriod now carries that whole-bill total. The new quirk tells the HA integration to price each bill from its itemized charges. Regenerated native-image metadata for the new UtilityQuirks constructor parameter.
Owner
Author
|
Closing: the quirk is unnecessary. The integration now uses a bill's itemized charges whenever it has any, which fixes Burlington's water months without a server change (rocketraman/open-green-button-homeassistant#39). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Burlington Hydro bills Halton Region water every other month on the same bill, with no line item for it. Its feed now sends that whole-bill total in
billLastPeriod, so the HA integration priced water months as electricity, roughly doubling those months (confirmed against a PDF bill).UtilityQuirks.summaryCostFromItemizedChargesclient quirk: price each bill from its itemized charges.utilities.conf: on forburlington_hydroonly. Other London Hydro–operated utilities that bill water may need it once checked against a bill.docs/utilities/burlington-hydro.md: new Bill Cost section.booleanin the UtilityQuirks constructor).Integration side: rocketraman/open-green-button-homeassistant (branch
rg/burlington-itemized-cost). Either can ship first: the quirk change rebuilds Burlington entries once, and the integration's import revision 9 repeats it for entries that saw the quirk on an older version.Testing
UtilityQuirksConfigTest: 2 new tests (off by default; Burlington only). All server tests pass.