Skip to content

Commit

Permalink
Add explicit typing as suggested by author
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Mar 1, 2024
1 parent dba4e62 commit c12e578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meters_to_ha/meters_to_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -2943,7 +2943,7 @@ def update_grdf_device(self, json_file):
self.mylog(
f"MQTT GRDF Publish {mqtt_server}:{mqtt_port} {auth} {data!r}"
)
data_out = {}
data_out: dict[str, Any] = {}
data_out = {
"period_start_datetime": data.get("dateDebutReleve", None),
"period_end_datetime": data.get("dateFinReleve", None),
Expand Down

0 comments on commit c12e578

Please sign in to comment.