From 3089f25e69834535c5aba379db9c2533da87aa61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9D=80=EA=B2=BD?= Date: Wed, 23 Mar 2016 02:37:44 -0500 Subject: [PATCH] =?UTF-8?q?MSA-984:=20=EB=82=98=20=EB=8F=84=EC=96=B4?= =?UTF-8?q?=EC=9E=A5=EC=B9=98=EB=A5=BC=20=EB=A7=8C=EB=93=A4=EC=97=88?= =?UTF-8?q?=EC=96=B4.=EA=B7=B8=EB=9E=98=EC=84=9C=20=EB=84=88=ED=9D=AC?= =?UTF-8?q?=EA=B0=80=20=ED=97=88=EB=9D=BD=ED=95=B4=20=EC=A4=AC=EC=9D=8C?= =?UTF-8?q?=ED=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devicetypes/-/-.src/-.groovy | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 devicetypes/-/-.src/-.groovy diff --git a/devicetypes/-/-.src/-.groovy b/devicetypes/-/-.src/-.groovy new file mode 100644 index 0000000..62ed114 --- /dev/null +++ b/devicetypes/-/-.src/-.groovy @@ -0,0 +1,55 @@ +/** + *가상조명1 + * + * Copyright 2016 김은경 + * + */ + +metadata { + definition (name: "조명센서", namespace: "은경이네", author: "김은경") { + capability "Color Control" + + attribute "삼성조명", "string" + + command "삼성조명" + } + + simulator { + // TODO: define status and reply messages here + } + + tiles { + // TODO: define your main and details tiles here + } +} + +// parse events into attributes +def parse(String description) { + log.debug "Parsing '${description}'" + // TODO: handle 'hue' attribute + // TODO: handle 'saturation' attribute + // TODO: handle 'color' attribute + // TODO: handle '삼성조명' attribute + +} + +// handle commands +def setHue() { + log.debug "Executing 'setHue'" + // TODO: handle 'setHue' command +} + +def setSaturation() { + log.debug "Executing 'setSaturation'" + // TODO: handle 'setSaturation' command +} + +def setColor() { + log.debug "Executing 'setColor'" + // TODO: handle 'setColor' command +} + +def 삼성조명() { + log.debug "Executing '삼성조명'" + // TODO: handle '삼성조명' command +} \ No newline at end of file