Skip to content

Commit

Permalink
Merge pull request #1530 from openWB/feature-enphase
Browse files Browse the repository at this point in the history
flake8
  • Loading branch information
LKuemmel authored Apr 8, 2024
2 parents dbbe7b5 + 936f6cf commit 2ce10c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/modules/devices/enphase/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def receive_token(self) -> bool:
self.device_config.configuration.token = token
try:
log.debug("saving new access token")
Pub().pub("openWB/set/system/device/" + str(self.device_config.id) + "/config", asdict(self.device_config))
Pub().pub("openWB/set/system/device/" + str(self.device_config.id) + "/config",
asdict(self.device_config))
except Exception as e:
log.exception('Token mqtt write exception ' + str(e))
return False
Expand Down

0 comments on commit 2ce10c6

Please sign in to comment.