Skip to content

Commit

Permalink
Merge pull request #98 from rasssta/master
Browse files Browse the repository at this point in the history
Renamed "off peak <num>" to "off_peak_<num>"
  • Loading branch information
Hellowlol authored Dec 30, 2021
2 parents fd7caaf + f5ce7d5 commit 685e726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/nordpool/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def device_state_attributes(self) -> dict:
return {
"current_price": self.current_price,
"average": self._average,
"off peak 1": self._off_peak_1,
"off peak 2": self._off_peak_2,
"off_peak_1": self._off_peak_1,
"off_peak_2": self._off_peak_2,
"peak": self._peak,
"min": self._min,
"max": self._max,
Expand Down

0 comments on commit 685e726

Please sign in to comment.