From 27bc646cf625a83d58e05d409682b5a15aa2a4e1 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sat, 16 Apr 2022 10:27:41 +0800 Subject: [PATCH] Add home assistant name to settings schema (#12191) Co-authored-by: nurikk --- lib/util/settings.schema.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/util/settings.schema.json b/lib/util/settings.schema.json index ef9c5db63..3b048449b 100644 --- a/lib/util/settings.schema.json +++ b/lib/util/settings.schema.json @@ -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"]