[homematic] Update README.md (#13101)

add example for DSL rule with tabbed view
This commit is contained in:
MeisterPiffer 2022-07-21 15:09:07 +02:00 committed by GitHub
parent 7855f81760
commit c6c65c607b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -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.