Skip to content

Commit

Permalink
shop message (#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKuemmel authored Oct 18, 2024
1 parent f6c95c7 commit b9e5c44
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/helpermodules/update_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@


class UpdateConfig:
DATASTORE_VERSION = 64
DATASTORE_VERSION = 65
valid_topic = [
"^openWB/bat/config/configured$",
"^openWB/bat/config/power_limit_mode$",
Expand Down Expand Up @@ -1832,3 +1832,10 @@ def upgrade(topic: str, payload) -> Optional[dict]:
return {f"openWB/bat/{index}/get/power_limit_controllable": False}
self._loop_all_received_topics(upgrade)
self.__update_topic("openWB/system/datastore_version", 64)

def upgrade_datastore_64(self) -> None:
pub_system_message(
{}, 'Garantieverlängerung für die openWB verfügbar -> '
'<a href="https://wb-solution.de/shop/">https://wb-solution.de/shop/</a>',
MessageType.INFO)
self.__update_topic("openWB/system/datastore_version", 65)

0 comments on commit b9e5c44

Please sign in to comment.