🔀 Merge branch 'ha-load-options' of https://github.com/pemontto/n8n into pemontto-ha-load-options

This commit is contained in:
Jan Oberhauser
2021-12-11 17:54:20 +01:00
5 changed files with 95 additions and 8 deletions

View File

@@ -43,7 +43,10 @@ export const stateFields: INodeProperties[] = [
{
displayName: 'Entity ID',
name: 'entityId',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAllEntities',
},
displayOptions: {
show: {
operation: [
@@ -110,7 +113,10 @@ export const stateFields: INodeProperties[] = [
{
displayName: 'Entity ID',
name: 'entityId',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAllEntities',
},
displayOptions: {
show: {
operation: [