Skip to content

Commit

Permalink
fix diagnostic entity key
Browse files Browse the repository at this point in the history
  • Loading branch information
krahabb committed Jan 27, 2024
1 parent b8b3514 commit d13e024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/meross_lan/devices/mts960.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _parse(self, payload: dict):
try:
entities[f"{channel}_{key}"].update_state(payload[key])
except KeyError:
MLDiagnosticSensor(manager, channel, f"{channel}_{key}", None, payload[key])
MLDiagnosticSensor(manager, channel, key, None, payload[key])

self.flush_state()

Expand Down

0 comments on commit d13e024

Please sign in to comment.