diff --git a/js/integration.js b/js/integration.js index b82eee3..9c7cd2b 100644 --- a/js/integration.js +++ b/js/integration.js @@ -154,7 +154,7 @@ const removeConfig = (type, config) => { } const path = config.unique_id.replace(`${INTEGRATION.node}_`, ""); const root = `${INTEGRATION.discovery}/${type}/${INTEGRATION.node}/${path}/config`; - return INTEGRATION.client.publish(root, null, { qos: 1, retain: true }); + return INTEGRATION.client.publish(root, JSON.stringify({}), { qos: 1, retain: true }); }; /** diff --git a/package.json b/package.json index 205d9ff..efebf47 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Home Assistant Touch Kiosk", "homepage": "https://github.com/leukipp/touchkio", "author": "leukipp", - "version": "1.3.2", + "version": "1.3.3", "license": "MIT", "main": "index.js", "scripts": {