Skip to content

Commit

Permalink
fix: mdi:ev-plug-ccs2 icon for charger & last_nexxtmove_sync (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman authored Aug 24, 2023
2 parents 94bb36c + 0794df8 commit 690ac3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/nexxtmove/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class NexxtmoveSensorDescription(SensorEntityDescription):
),
NexxtmoveSensorDescription(key="counter", icon="mdi:counter"),
NexxtmoveSensorDescription(key="charging_device", icon="mdi:ev-station"),
NexxtmoveSensorDescription(key="charging_point", icon="mdi:ev-plug-type1"),
NexxtmoveSensorDescription(key="charging_point", icon="mdi:ev-plug-ccs2"),
NexxtmoveSensorDescription(
key="charging_events", icon="mdi:calendar-multiple-check"
),
Expand Down 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 690ac3a

Please sign in to comment.