Add home assistant name to settings schema (#12191)

Co-authored-by: nurikk <ainur@yojee.com>
This commit is contained in:
John Doe
2022-04-16 10:27:41 +08:00
committed by GitHub
co-authored by nurikk
parent 23ef22e9ba
commit 27bc646cf6
+11
View File
@@ -834,6 +834,17 @@
"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"
},
"homeassistant": {
"type": "object",
"title": "Home Assistant",
"properties": {
"name": {
"type": "string",
"title": "Home Assistant name",
"description": "Name of the device in Home Assistant"
}
}
}
},
"required": ["friendly_name"]