Skip to content

Commit

Permalink
fix(trigger-state): fix autocomplete for entity id field
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Sep 27, 2020
1 parent c603685 commit 6ce5d0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nodes/trigger-state/ui-trigger-state.js
Expand Up @@ -71,6 +71,10 @@ RED.nodes.registerType('trigger-state', {
haServer.init(node, '#node-input-server');
haServer.autocomplete('entities', (entities) => {
availableEntities = entities;
$('#node-input-entityid').autocomplete({
source: entities,
minLength: 0,
});
});
haServer.autocomplete('properties', (properties) => {
availableProperties = properties;
Expand Down

0 comments on commit 6ce5d0d

Please sign in to comment.