Especially when using dimmable LED lamps, malfunctions such as annoying flickering, afterglow or noises under certain load conditions often occur. With the help of the Homematic IP dimmer compensator, these malfunctions can be eliminated and silky smooth dimming of the lamps can be achieved, as is known from conventional lamps. The dimmer compensator serves as an intelligent load element in the electrical installation, which is why it eliminates both malfunctions during operation and afterglow when the lamps are switched off. The dimmer compensator works not only in conjunction with Homematic IP dimmer actuators, but also with trailing edge phase dimmers from other manufacturers.