Update title/description for filtered_attributes and filtired_optimistic (#7643)

* Update title/description for filtered_attributes and filtired_optimistic

The way the frontend displays it is a bit confusing, this should hopefully clear that up.

* Lint
This commit is contained in:
Jorge Schrauwen
2021-05-30 17:27:23 +02:00
committed by GitHub
parent ae4a332946
commit e1bc0b53a2
+4 -4
View File
@@ -707,8 +707,8 @@
"type": "string"
},
"examples": ["color_mode", "color_temp", "color"],
"title": "Filtered attributes",
"description": "Skip optimistic state after set for certain attributes, this has no effect if optimistic is set to false."
"title": "Filtered optimistic attributes",
"description": "Filter attributes from optimistic publish payload when calling /set. (This has no effect if optimistic is set to false)."
},
"filtered_attributes": {
"type": "array",
@@ -716,8 +716,8 @@
"type": "string"
},
"examples": ["temperature", "battery", "action"],
"title": "Filtered attributes",
"description": "Allows to prevent certain attributes from being published"
"title": "Filtered publish attributes",
"description": "Filter attributes from publish payload."
},
"icon": {
"type": "string",