From 6c3a65edb548584666132a8466fb20cc935fbd9b Mon Sep 17 00:00:00 2001 From: Dubh Ad Date: Fri, 19 Jul 2019 21:51:39 +0100 Subject: [PATCH] Note about hidden (#9919) Since it doesn't apply to Lovelace, would be good to note that here ;) --- source/_docs/configuration/state_object.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/configuration/state_object.markdown b/source/_docs/configuration/state_object.markdown index f05e85d5f07..8699d0220c6 100644 --- a/source/_docs/configuration/state_object.markdown +++ b/source/_docs/configuration/state_object.markdown @@ -29,9 +29,9 @@ Attribute | Description --------- | ----------- `friendly_name` | Name of the entity. Example: `Kitchen Ceiling`. `icon` | Icon to use for the entity in the frontend. Example: `mdi:home`. -`hidden` | Boolean if the entity should not be shown in the frontend. Example: `true`. `entity_picture` | URL to a picture that should be used instead of showing the domain icon. Example: `http://example.com/picture.jpg`. `assumed_state` | Boolean if the current state is an assumption. [More info](/blog/2016/02/12/classifying-the-internet-of-things/#classifiers) Example: `True`. `unit_of_measurement` | The unit of measurement the state is expressed in. Used for grouping graphs or understanding the entity. Example: `°C`. +`hidden` | Boolean if the entity should not be shown in the frontend. Example: `true`. This does not apply to the Lovelace UI, and is only relevant for the old `states` UI. When an attribute contains spaces, you can retrieve it like this: `states.sensor.livingroom.attributes["Battery numeric"]`.