How to call a Fibaro LUA command (hub.call)

Hi.
A Fibaro RGBW2 controller connected to a Fibaro homecenter,
can be dimmed by using the following LUA commands:
hub.call( Id,‘startLevelIncrease’)
hub.call(Id,‘startLevelDecrease’)
hub.call(value,‘StopLevelChange’)
etc.
Question is, how can I send Lua Commands from homeassistant?
Do I have to create some rest commands?
thanks for helping

Hi
The HA fibaro integration should expose you this entity correctly, so you don’t need to call the lua API directly and you can control your device through HA directly.

For sure you can use the API directly via REST commands if you like to learn it. The documentation is available here: https://www.fibaro.com/dev/specs/hc3l/