Skip to content

Commit

Permalink
core 19.0.0a20
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Jun 22, 2023
1 parent 6383bb0 commit df85334
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion custom_components/peaqev/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"iot_class": "calculated",
"issue_tracker": "https://github.com/elden1337/hass-peaq/issues",
"requirements": [
"peaqevcore==19.0.0a19"
"peaqevcore==19.0.0a20"
],
"version": "3.0.0a0"
}
8 changes: 3 additions & 5 deletions custom_components/peaqev/sensors/money_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
if TYPE_CHECKING:
from custom_components.peaqev.peaqservice.hub.hub import HomeAssistantHub

import logging

from homeassistant.helpers.restore_state import RestoreEntity

from custom_components.peaqev.peaqservice.chargecontroller.const import CHARGING_ALLOWED
Expand Down Expand Up @@ -132,9 +130,9 @@ def extra_state_attributes(self) -> dict:
"Current hour charge permittance": self._charge_permittance,
"Avg price per kWh": self._avg_cost,
"Max charge amount": self._max_charge,
"Nordpool average 7 days": self._average_nordpool,
"Nordpool average 30 days": self._average_data_30,
"nordpool_average_this_month": self._average_data_current_month,
#"Nordpool average 7 days": self._average_nordpool,
#"Nordpool average 30 days": self._average_data_30,
#"nordpool_average_this_month": self._average_data_current_month,
"Nordpool average data": self._average_nordpool_data,
"All hours": self._all_hours,
}
Expand Down

0 comments on commit df85334

Please sign in to comment.