feat: add unit display to smart home entitiy card (#1844)

Unit of measurement can be chosen to display on the entity card.
Friendly name can be used instead of displayName.
This commit is contained in:
Dennis Vesterlund
2024-02-09 22:30:57 +01:00
committed by GitHub
parent 02249d20c2
commit d45ae5fab9
2 changed files with 28 additions and 1 deletions

View File

@@ -9,12 +9,20 @@
"label": "Entity ID",
"info": "Unique entity ID in Home Assistant. Copy by clicking on entity > Click on cog icon > Click on copy button at 'Entity ID'. Some custom entities may not be supported."
},
"appendUnit": {
"label": "Append unit of measurement",
"info": "Append the unit of measurement attribute to the entity state."
},
"automationId": {
"label": "Optional automation ID",
"info": "Your unique automation ID. Always starts with automation.XXXXX. If not set, widget will not be clickable and only display state. After click, entity state will be refreshed."
},
"displayName": {
"label": "Display name"
},
"displayFriendlyName": {
"label": "Display friendly name",
"info": "Display friendly name from Home Assistant instead instead of display name"
}
}
}