Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
keesschollaart81 committed Jul 12, 2020
1 parent 39919b1 commit 04b63d9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# Features

## Completion for Entity ID's & Services
## Completion for Entity IDs, Services, Scenes and Triggers

When connected with your Home Assistant server, entity id' and services will be auto-completed.

Expand All @@ -39,6 +39,14 @@ Most of the scheme's of Home Assistant will be validated and things like propert

<img src="https://raw.githubusercontent.com/keesschollaart81/vscode-home-assistant/dev/assets/schema_validation_completion.gif">

Deprecation Warnings:

<img src="https://raw.githubusercontent.com/keesschollaart81/vscode-home-assistant/dev/assets/deprecation-warnings.gif">

Schema Documentation

<img src="https://raw.githubusercontent.com/keesschollaart81/vscode-home-assistant/dev/assets/schema_documentation.gif">

## Go to Definition for Includes

Easy navigate between your files references via the different !include... tags using 'f12' / 'Go to Definition'.
Expand Down
Binary file added assets/deprecation-warnings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/entity_service_completion.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/schema-documentation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/language-service/src/home-assistant/haConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ export class HaConnection implements IHaConnection {
const completionItem = CompletionItem.create(`${value.entity_id}`);
completionItem.detail = value.attributes.friendly_name;
completionItem.kind = CompletionItemKind.Variable;
completionItem.filterText = `${value.entity_id}`;
completionItem.insertText = completionItem.filterText;
completionItem.filterText = `${value.entity_id} ${value.attributes.friendly_name}`;
completionItem.insertText = value.entity_id;
completionItem.data = {};
completionItem.data.isEntity = true;

Expand Down

0 comments on commit 04b63d9

Please sign in to comment.