From fd41233008df337b6805112d02a7d59f6be47a7a Mon Sep 17 00:00:00 2001 From: Jamie Houston Date: Wed, 5 Oct 2022 22:25:33 -0500 Subject: [PATCH] fixing project name for quick add --- todoist-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todoist-card.js b/todoist-card.js index 8f5f56a..485306c 100644 --- a/todoist-card.js +++ b/todoist-card.js @@ -337,7 +337,7 @@ class TodoistCard extends LitElement { this.hass .callService('rest_command', 'todoist', { url: 'quick/add', - payload: 'text=' + value + ' #' + state.attributes.project.name, + payload: 'text=' + value + ' #' + state.attributes.project.name.replaceAll(' ',''), }) .then(response => { input.value = '';