diff --git a/source/_topics/state_object.markdown b/source/_topics/state_object.markdown index 1f1a16425f3..35716de6b58 100644 --- a/source/_topics/state_object.markdown +++ b/source/_topics/state_object.markdown @@ -37,3 +37,5 @@ Attribute | Description `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](https://home-assistant.io/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`. + +When an attribute contains spaces, you can retrieve it like this: `states.sensor.livingroom.attributes["Battery numeric"]`.