mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix device class repairs issues placeholders in Group (#110181)
fix translation placeholders
This commit is contained in:
parent
1e7cd7c0c6
commit
fa4433c569
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user