Skip to content

Commit

Permalink
fix: last_nexxtmove_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman committed Aug 24, 2023
1 parent 9e36045 commit 0794df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/nexxtmove/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def extra_state_attributes(self):
if not self.coordinator.data:
return {}
attributes = {
"last_synced": self.last_synced,
"last_nexxtmove_sync": self.last_synced,
}
if len(self.item.extra_attributes) > 0:
for attr in self.item.extra_attributes:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/nexxtmove/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def extra_state_attributes(self):
if not self.coordinator.data:
return {}
attributes = {
"last_synced": self.last_synced,
"last_nexxtmove_sync": self.last_synced,
}
if len(self.item.extra_attributes) > 0:
for attr in self.item.extra_attributes:
Expand Down

0 comments on commit 0794df8

Please sign in to comment.