diff --git a/package-lock.json b/package-lock.json index 8aeeeb3..49df429 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@berrywhite/lovelace-shutter-row", - "version": "0.3.1", + "version": "0.3.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@berrywhite/lovelace-shutter-row", - "version": "0.3.1", + "version": "0.3.2", "license": "MIT", "dependencies": { "@mdi/js": "^7.0.96", diff --git a/package.json b/package.json index 8b5450a..567ca58 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@berrywhite/lovelace-shutter-row", "private": true, - "version": "0.3.1", + "version": "0.3.2", "description": "Home Assistant Lovelace Shutter Row Card", "main": "shutter-row.js", "module": "shutter-row.js", diff --git a/shutter-row.js b/shutter-row.js index 52ef5e2..ea07508 100644 --- a/shutter-row.js +++ b/shutter-row.js @@ -136,7 +136,7 @@ var mdiStop = "M18,18H6V6H18V18Z"; const HASSIO_CARD_ID = "shutter-row"; const HASSIO_CARD_EDITOR_ID = HASSIO_CARD_ID + "-editor"; const HASSIO_CARD_NAME = "Shutter Row"; -const VERSION = "0.3.1"; +const VERSION = "0.3.2"; // SVG PATHS const PATH_SHUTTER_100 = @@ -323,8 +323,7 @@ const getRootSchema = (hass) => [ const PRESET_SCHEMA = [ { name: "name", selector: { text: {} } }, { name: "icon", selector: { icon: {} } }, - UI_SCHEMA, -]; +].concat(UI_SCHEMA); /** * Hold needed helper variables diff --git a/src/const.js b/src/const.js index 4407ea2..ef8991a 100644 --- a/src/const.js +++ b/src/const.js @@ -2,7 +2,7 @@ export const HASSIO_CARD_ID = "shutter-row"; export const HASSIO_CARD_EDITOR_ID = HASSIO_CARD_ID + "-editor"; export const HASSIO_CARD_NAME = "Shutter Row"; -export const VERSION = "0.3.1"; +export const VERSION = "0.3.2"; // SVG PATHS export const PATH_SHUTTER_100 = diff --git a/src/editor/editor_schema.js b/src/editor/editor_schema.js index ab20194..788b1f0 100644 --- a/src/editor/editor_schema.js +++ b/src/editor/editor_schema.js @@ -69,5 +69,4 @@ export const getRootSchema = (hass) => [ export const PRESET_SCHEMA = [ { name: "name", selector: { text: {} } }, { name: "icon", selector: { icon: {} } }, - UI_SCHEMA, -]; +].concat(UI_SCHEMA);