mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 13:56:35 +00:00
Hide attribute measurement and editable attributes (#9272)
This commit is contained in:
parent
59f3f819a6
commit
6ea2a29eea
@ -101,6 +101,7 @@ hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = {
|
||||
supported_features: undefined,
|
||||
attribution: undefined,
|
||||
restored: undefined,
|
||||
editable: undefined,
|
||||
custom_ui_more_info: { type: "string" },
|
||||
custom_ui_state_card: { type: "string" },
|
||||
device_class: {
|
||||
@ -109,6 +110,13 @@ hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = {
|
||||
description: "Device class",
|
||||
domains: ["binary_sensor", "cover", "humidifier", "sensor", "switch"],
|
||||
},
|
||||
state_class: {
|
||||
type: "array",
|
||||
options: { sensor: ["measurement"] },
|
||||
description: "State class",
|
||||
domains: ["sensor"],
|
||||
},
|
||||
last_reset: undefined,
|
||||
assumed_state: {
|
||||
type: "boolean",
|
||||
domains: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user