Fix device class repairs issues placeholders in Group (#110181)

fix translation placeholders
This commit is contained in:
Simon Lamon
2024-02-10 20:09:02 +01:00
committed by GitHub
parent 1e7cd7c0c6
commit fa4433c569

View File

@@ -476,7 +476,7 @@ class SensorGroup(GroupEntity, SensorEntity):
translation_placeholders={ translation_placeholders={
"entity_id": self.entity_id, "entity_id": self.entity_id,
"source_entities": ", ".join(self._entity_ids), "source_entities": ", ".join(self._entity_ids),
"state_classes:": ", ".join(state_classes), "state_classes": ", ".join(state_classes),
}, },
) )
return None return None
@@ -519,7 +519,7 @@ class SensorGroup(GroupEntity, SensorEntity):
translation_placeholders={ translation_placeholders={
"entity_id": self.entity_id, "entity_id": self.entity_id,
"source_entities": ", ".join(self._entity_ids), "source_entities": ", ".join(self._entity_ids),
"device_classes:": ", ".join(device_classes), "device_classes": ", ".join(device_classes),
}, },
) )
return None return None