Skip to content

Commit 625358c

Browse files
committed
Some remarks
1 parent 89846dc commit 625358c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/core/entity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ The following properties are also available on entities. However, they are for a
121121

122122
## State attributes
123123

124-
Entities can provide additional state attributes besides the built-in ones, to provide further details to it's state.
124+
Entities can provide additional state attributes besides the built-in ones, to provide further details to its state.
125125
This should be done by providing a dictionary with keys and values to the `extra_state_attributes` property.
126126

127-
Providing additional state attributes comes with some rules:
127+
Providing state attributes comes with the following rules:
128128

129129
- If an attribute is expected, it should be in the dictionary. Attributes should not "come and go".
130-
- If an attribute is expected, but it's not providing a value right now, its value should be `None` and remain in the dictionary
130+
- If an attribute is expected, but it's not providing a value right now, its value should be `None` and remain in the dictionary.
131131
- If an attributes is not expected, it should not be in the dictionary. As example, only some attributes might provide additional context to the state when the entity runs with a certain configuration.
132132

133133
## System properties

0 commit comments

Comments
 (0)