Skip to content

Commit

Permalink
#30
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuselden authored and magnuselden committed Sep 19, 2023
1 parent f46e69a commit 6c3330c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/peaqnext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ async def async_create_internal_sensors(conf: ConfigEntry) -> list[NextSensor]:
default_closest_cheap=s.get(CONF_CLOSEST_CHEAP, 12),
deduct_price=s.get(CONF_DEDUCT_PRICE, 0),
show_relative_time=s.get(CONF_RELATIVE_TIME, False),
update_by=UpdateBy(s.get(CONF_UPDATE_BY)),
calculate_by=CalculateBy(s.get(CONF_CALCULATE_BY)),
update_by=UpdateBy(s.get(CONF_UPDATE_BY, UpdateBy.HOUR.value)),
calculate_by=CalculateBy(s.get(CONF_CALCULATE_BY, CalculateBy.STARTTIME.value)),
)
)
return sensors
Expand Down

0 comments on commit 6c3330c

Please sign in to comment.