Skip to content

Commit

Permalink
Merge pull request custom-components#301 from elden1337/master
Browse files Browse the repository at this point in the history
add price in cents sensor-attribute
  • Loading branch information
Hellowlol authored Mar 25, 2023
2 parents 60e34ea + 13f2fcc commit 57be772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/nordpool/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ def extra_state_attributes(self) -> dict:
"raw_tomorrow": self.raw_tomorrow,
"current_price": self.current_price,
"additional_costs_current_hour": self.additional_costs,
"price_in_cents": self._use_cents
}

def _add_raw(self, data) -> list:
Expand Down

0 comments on commit 57be772

Please sign in to comment.