From 2f672ea3a7634550caf34f89f8ed4869ef7aff9a Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 5 Mar 2023 19:22:51 +0100 Subject: [PATCH] Remove old style sensor snippets (#2536) --- package.json | 4 ---- src/snippets/homeassistant_sensor.json | 13 ------------- 2 files changed, 17 deletions(-) delete mode 100644 src/snippets/homeassistant_sensor.json diff --git a/package.json b/package.json index 077aa71a6a..041311f246 100644 --- a/package.json +++ b/package.json @@ -67,10 +67,6 @@ { "language": "home-assistant", "path": "./out/snippets/homeassistant_script.json" - }, - { - "language": "home-assistant", - "path": "./out/snippets/homeassistant_sensor.json" } ], "languages": [ diff --git a/src/snippets/homeassistant_sensor.json b/src/snippets/homeassistant_sensor.json deleted file mode 100644 index 9187c4004c..0000000000 --- a/src/snippets/homeassistant_sensor.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "(binary) sensor template": { - "prefix": "sensor-template", - "body": [ - "- platform: template", - " sensors:", - " ${1:sensor name}:", - " friendly_name: \"${2:sensor friendly name}\"", - " value_template: \"{{ ${3:sensor value template} }}\"" - ], - "description": "Add a Home Assistant template (binary) sensor" - } -}