From 7bab9cb464f3523906c401499ce737aeecf58583 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 18 Sep 2019 13:02:45 -0700 Subject: [PATCH] Remove unused templates attributes from demo --- demo/src/configs/arsaboo/entities.ts | 30 ---------------------------- 1 file changed, 30 deletions(-) diff --git a/demo/src/configs/arsaboo/entities.ts b/demo/src/configs/arsaboo/entities.ts index 9bbc753451..77a4d1c16a 100644 --- a/demo/src/configs/arsaboo/entities.ts +++ b/demo/src/configs/arsaboo/entities.ts @@ -115,10 +115,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => attributes: { friendly_name: "Abode Updates", icon: "hademo:security", - templates: { - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - }, }, }, "input_boolean.tv": { @@ -127,10 +123,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => attributes: { friendly_name: "TV", icon: "hademo:television", - templates: { - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - }, }, }, "input_boolean.homeautomation": { @@ -139,10 +131,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => attributes: { friendly_name: "Home Automation", icon: "hass:home-automation", - templates: { - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - }, }, }, "input_boolean.tvtime": { @@ -151,12 +139,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => attributes: { friendly_name: "TV Time", icon: "hademo:television-guide", - templates: { - icon: - "if (state === 'on') return 'hademo:television-classic'; return 'hademo:television-classic-off';\n", - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - }, }, }, "input_select.livingroomharmony": { @@ -560,12 +542,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => state: "off", attributes: { friendly_name: "Driveway Light", - templates: { - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - icon: - "if (state === 'on') return 'hademo:lightbulb-on'; return 'hademo:lightbulb';\n", - }, }, }, "switch.wemoporch": { @@ -573,12 +549,6 @@ export const demoEntitiesArsaboo: DemoConfig["entities"] = (localize) => state: "off", attributes: { friendly_name: "Porch Lights", - templates: { - icon_color: - "if (state === 'on') return 'rgb(251, 210, 41)'; return 'rgb(54, 95, 140)';\n", - icon: - "if (state === 'on') return 'hademo:lightbulb-on'; return 'hademo:lightbulb';\n", - }, }, }, });