Finally the dimmer widget - now I will try using Rotini again
However, it doesn’t work with Home Assistant, which seems to want an integer value:
Feb 06 21:34:38 ha hass[11162]: 2018-02-06 21:34:38 ERROR (MainThread) [homeassistant.core] Invalid service data for light.turn_on: expected int for dictionary value @ data['brightness']. Got '11220.0'
Also, the value is a bit high.