From 0794df80957df773a114edd5688ef42fb447b65d Mon Sep 17 00:00:00 2001 From: Geert Meersman Date: Thu, 24 Aug 2023 12:40:29 +0200 Subject: [PATCH] fix: last_nexxtmove_sync --- custom_components/nexxtmove/sensor.py | 2 +- custom_components/nexxtmove/switch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/nexxtmove/sensor.py b/custom_components/nexxtmove/sensor.py index e341ef2..3f62b2a 100644 --- a/custom_components/nexxtmove/sensor.py +++ b/custom_components/nexxtmove/sensor.py @@ -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: diff --git a/custom_components/nexxtmove/switch.py b/custom_components/nexxtmove/switch.py index de0c476..5f10fd2 100644 --- a/custom_components/nexxtmove/switch.py +++ b/custom_components/nexxtmove/switch.py @@ -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: