[homematic] Update README.md (#13101)
add example for DSL rule with tabbed view
This commit is contained in:
parent
7855f81760
commit
c6c65c607b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue