From 86a693741c5569c42aa5dc4418ec5588e5e0e58e Mon Sep 17 00:00:00 2001 From: TheAgentK Date: Mon, 10 Dec 2018 13:14:55 +0100 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3529bbc..a0aa64a 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,17 @@ All questions regarding the TuyaAPI please ask in the project https://github.com #### create items-file ``` -Switch tuya_kitchen_coffeemachine_mqtt "Steckdose Kaffeemaschine" (Kitchen, gTuya, gTuyaSwitches, GAtAwayOff) ["Switchable"] {mqtt="<[broker:tuya/////state:state:default:.*], >[broker:tuya/////command/on:command:ON:true], >[broker:tuya/////command/off:command:OFF:false]"} +Switch tuya_kitchen_coffeemachine_mqtt "Steckdose Kaffeemaschine" (Kitchen, gTuya, gTuyaSwitches, GAtAwayOff) ["Switchable"] { + mqtt="<[broker:tuya/////state:state:default:.*], + >[broker:tuya/////command/on:command:ON:true], + >[broker:tuya/////command/off:command:OFF:false]" +} -Switch tuya_livingroom_ledstrip_tv "LED Regal" (LivingDining, Wohnzimmer, gTuya, gTuyaLights, GAtAwayOff) ["Lighting"] {mqtt="<[broker:tuya/lightbulb////state:state:default:.*], >[broker:tuya/lightbulb////command/on:command:ON:true], >[broker:tuya/lightbulb////command/off:command:OFF:false]"} +Switch tuya_livingroom_ledstrip_tv "LED Regal" (LivingDining, Wohnzimmer, gTuya, gTuyaLights, GAtAwayOff) ["Lighting"] { + mqtt="<[broker:tuya/lightbulb////state:state:default:.*], + >[broker:tuya/lightbulb////command/on:command:ON:true], + >[broker:tuya/lightbulb////command/off:command:OFF:false]" +} ``` ## Useage @@ -73,4 +81,4 @@ Switch item=tuya_livingroom_ledstrip_tv mappings=[ON="On", OFF="Off"] - Specs: https://docs.tuya.com/en/cloudapi/cloud_access.html [![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)](https://forthebadge.com) -[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com) \ No newline at end of file +[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)