Map card: add "unit" option (#38535)

This commit is contained in:
ildar170975 2025-06-03 22:24:06 +03:00 committed by GitHub
parent bf5a1cdff4
commit 28c56e706f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,6 +141,10 @@ attribute:
required: false
description: An entity's attribute when `label_mode` set to `attribute`.
type: string
unit:
required: false
description: A unit for a value of an attribute when `label_mode` set to `attribute`.
type: string
focus:
required: false
default: true
@ -166,6 +170,10 @@ attribute:
required: false
description: An entity's attribute when `label_mode` set to `attribute`.
type: string
unit:
required: false
description: A unit for a value of an attribute when `label_mode` set to `attribute`.
type: string
focus:
required: false
default: true