Skip to content

Commit b5b5218

Browse files
authored
Merge pull request #351 from MTrab:Add-use_cent-attribute
Add use_cent attribute
2 parents c4dbf7b + 763d15a commit b5b5218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/energidataservice/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def _get_current_price(self) -> None:
447447
"tomorrow_min": self._tomorrow_min or None,
448448
"tomorrow_max": self._tomorrow_max or None,
449449
"tomorrow_mean": self._tomorrow_mean or None,
450+
"use_cent": self._cent,
450451
"attribution": f"Data sourced from {self._api.source}",
451452
}
452453

0 commit comments

Comments
 (0)