Skip to content

Commit

Permalink
Merge pull request #351 from MTrab:Add-use_cent-attribute
Browse files Browse the repository at this point in the history
Add use_cent attribute
  • Loading branch information
MTrab committed Aug 31, 2023
2 parents c4dbf7b + 763d15a commit b5b5218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/energidataservice/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ def _get_current_price(self) -> None:
"tomorrow_min": self._tomorrow_min or None,
"tomorrow_max": self._tomorrow_max or None,
"tomorrow_mean": self._tomorrow_mean or None,
"use_cent": self._cent,
"attribution": f"Data sourced from {self._api.source}",
}

Expand Down

0 comments on commit b5b5218

Please sign in to comment.