Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from imthefrizzlefry/enableSummationDelivered
Browse files Browse the repository at this point in the history
adding Current Summation Delivered to process_update
  • Loading branch information
ryanwinter authored Apr 15, 2022
2 parents 6fb4616 + 2d170bf commit 017c2c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/rainforest_emu_2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def _process_update(self, type, response) -> None:

elif type == 'PriceCluster':
self._current_price = response.price_dollars

elif type == 'CurrentSummationDelivered':
self._summation_delivered = response.summation_delivered

for callback in self._callbacks:
if (callback[0] == type):
Expand Down

0 comments on commit 017c2c2

Please sign in to comment.