From 756e94d5cf562de5dfc4b515c10cf4957fda4b2e Mon Sep 17 00:00:00 2001 From: TheAgentK Date: Mon, 10 Dec 2018 13:24:10 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c02049c..7e0dc32 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ There are some reliability issues with tuyapi. Latest changes changed the syntax All questions regarding the TuyaAPI please ask in the project https://github.com/codetheweb/tuyapi . -## Example items +## Example items #### simple switch on/off ``` Switch tuya_kitchen_coffeemachine_mqtt "Steckdose Kaffeemaschine" () ["Switchable"] { @@ -65,6 +65,7 @@ Switch tuya_livingroom_ledstrip_tv "LED Regal" () ["Lighting >[broker:tuya/lightbulb////command/off:command:OFF:false]" } ``` + #### change color of lightbulb ``` # .items @@ -101,8 +102,7 @@ end ``` -## Useage -### Basic UI sitemap +#### Basic UI sitemap ``` Switch item=tuya_kitchen_coffeemachine_mqtt mappings=[ON="On", OFF="Off"] Switch item=tuya_livingroom_ledstrip_tv mappings=[ON="On", OFF="Off"]