Add icon to attribute row (#19222)

This commit is contained in:
Philip Allgaier 2021-09-22 19:32:14 +02:00 committed by GitHub
parent f7fe807861
commit b38a2560d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,10 @@ name:
required: false required: false
description: Overwrites friendly entity name. description: Overwrites friendly entity name.
type: string type: string
icon:
required: false
description: Icon to use. Defaults to icon of entity.
type: string
format: format:
required: false required: false
description: "How the attribute value should be formatted. Currently only supported for timestamp attributes. Valid values are: `relative`, `total`, `date`, `time` and `datetime`." description: "How the attribute value should be formatted. Currently only supported for timestamp attributes. Valid values are: `relative`, `total`, `date`, `time` and `datetime`."