mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 14:22:38 +00:00
Update schema with the Icon device property. (#7018)
* Device-specific icon * Updated tests. * Updated test * Updated tests * Updated tests. * Updated tests * Update schema with the Icon device property. * Fix Co-authored-by: ptvoinfo <xagga@ya.ru>
This commit is contained in:
1 parent
e81ac11466
commit
d5d16d1616
1 file changed
+5
@@ -702,6 +702,11 @@
|
||||
"examples": ["temperature", "battery", "action"],
|
||||
"title": "Filtered attributes",
|
||||
"description": "Allows to prevent certain attributes from being published"
|
||||
},
|
||||
"icon": {
|
||||
"type": "string",
|
||||
"title": "Icon",
|
||||
"description": "The user-defined device icon for the frontend. It can be a link to an image (not a path to a file) or base64 encoded data URL like: image/svg+xml;base64,PHN2ZyB3aW....R0aD"
|
||||
}
|
||||
},
|
||||
"required": ["friendly_name"]
|
||||
|
||||
Reference in new issue
Block a user