From c6c65c607b19d380cda0f1f842bfbba23adb63f7 Mon Sep 17 00:00:00 2001 From: MeisterPiffer Date: Thu, 21 Jul 2022 15:09:07 +0200 Subject: [PATCH] [homematic] Update README.md (#13101) add example for DSL rule with tabbed view --- bundles/org.openhab.binding.homematic/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.homematic/README.md b/bundles/org.openhab.binding.homematic/README.md index 26ff2b8f85..a3e1dd6718 100644 --- a/bundles/org.openhab.binding.homematic/README.md +++ b/bundles/org.openhab.binding.homematic/README.md @@ -660,11 +660,19 @@ openhab:send Var_1 REFRESH In scripts: -```javascript +:::: tabs + +::: tab JavaScript import org.openhab.core.types.RefreshType ... Var_1.sendCommand(RefreshType.REFRESH) -``` +::: + +::: tab DSL +Var_1.sendCommand(REFRESH) +::: + +:::: **Note:** adding new and removing deleted variables from the GATEWAY-EXTRAS thing is currently not supported. You have to delete the thing, start a scan and add it again. -- 2.47.3