mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +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,
|
supported_features: undefined,
|
||||||
attribution: undefined,
|
attribution: undefined,
|
||||||
restored: undefined,
|
restored: undefined,
|
||||||
|
editable: undefined,
|
||||||
custom_ui_more_info: { type: "string" },
|
custom_ui_more_info: { type: "string" },
|
||||||
custom_ui_state_card: { type: "string" },
|
custom_ui_state_card: { type: "string" },
|
||||||
device_class: {
|
device_class: {
|
||||||
@ -109,6 +110,13 @@ hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = {
|
|||||||
description: "Device class",
|
description: "Device class",
|
||||||
domains: ["binary_sensor", "cover", "humidifier", "sensor", "switch"],
|
domains: ["binary_sensor", "cover", "humidifier", "sensor", "switch"],
|
||||||
},
|
},
|
||||||
|
state_class: {
|
||||||
|
type: "array",
|
||||||
|
options: { sensor: ["measurement"] },
|
||||||
|
description: "State class",
|
||||||
|
domains: ["sensor"],
|
||||||
|
},
|
||||||
|
last_reset: undefined,
|
||||||
assumed_state: {
|
assumed_state: {
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
domains: [
|
domains: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user