Skip to content

Commit 597eb89

Browse files
committed
Fix comment
1 parent 625358c commit 597eb89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/entity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ 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".
130130
- If an attribute is expected, but it's not providing a value right now, its value should be `None` and remain in the dictionary.
131-
- 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.
131+
- If an attribute is not expected, it should not be in the dictionary. An attribute is expected if supported by the entity, for example as indicated by `supported_features`.
132132

133133
## System properties
134134

0 commit comments

Comments
 (0)