diff --git a/packages/modules/common/configurable_tariff.py b/packages/modules/common/configurable_tariff.py index e8c06b2e3a..f7091fda91 100644 --- a/packages/modules/common/configurable_tariff.py +++ b/packages/modules/common/configurable_tariff.py @@ -25,7 +25,7 @@ def update(self): # Wenn beim Initialisieren etwas schief gelaufen ist, ursprüngliche Fehlermeldung beibehalten with SingleComponentUpdateContext(self.fault_state): tariff_state = self._component_updater() - current_hour = create_unix_timestamp_current_full_hour() + current_hour = str(int(create_unix_timestamp_current_full_hour())) self.store.set(tariff_state) self.store.update() for timestamp in tariff_state.prices.keys():