Dimmer item and parsing of its value

In addition to Udo’s answer you may take a look at: