From 9e0c5532dec222d997a75d771b73ada186d7c250 Mon Sep 17 00:00:00 2001 From: Crhistian Ramirez <16483662+crhistianramirez@users.noreply.github.com> Date: Sun, 2 Jan 2022 13:48:26 -0600 Subject: [PATCH] Update HACS token schema (#1815) --- README.md | 4 ++-- src/language-service/src/schemas/integrations/custom/hacs.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e1de1893c..b4f890bb09 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ Evaluate jinja templates via Home Assistant's API and see how they would render. # Contribution -- [How to update the schemas](https://github.com/keesschollaart81/vscode-home-assistant/wiki/HowTo:-Update-the-schemas) -- [Local Development](https://github.com/keesschollaart81/vscode-home-assistant/wiki/Local-development) +- [How to update the schemas](https://github.com/keesschollaart81/vscode-home-assistant/wiki/HowTo:-Update-the-schema's) +- [Local Development](https://github.com/keesschollaart81/vscode-home-assistant/wiki/Local-development-of-this-Extension) # Release Notes diff --git a/src/language-service/src/schemas/integrations/custom/hacs.ts b/src/language-service/src/schemas/integrations/custom/hacs.ts index 5bfcac61d5..1fa77e4734 100644 --- a/src/language-service/src/schemas/integrations/custom/hacs.ts +++ b/src/language-service/src/schemas/integrations/custom/hacs.ts @@ -9,7 +9,7 @@ export interface Schema { * Github Personal Access Token. * https://hacs.xyz/docs/configuration/legacy * - * @TJS-pattern ^[0-9a-fA-F]{40}$ + * @TJS-pattern ^[0-9a-zA-Z_]{40}$ */ token: string;