mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Fix device class repairs issues placeholders in Group (#110181)
fix translation placeholders
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user