A method of operating a control module for an electrical load, in particular a lamp, the control module being included in a home automation installation and comprising: - A radio frequency transmission and reception module, - At least one electronic switch, - Power supply conductors (L1, N1), suitable for connection to mains supply lines (L, N), - An electronic unit, an input of which is connected to the radio frequency transmission and reception module and an output of which activates the electronic switch, - A configuration key (CONF), - A light-emitting diode, the operating method comprising a step of switching from an operating mode to a configuration mode, obtained by an action on the configuration key (CONF), the configuration mode comprising an initial state, indicated by an uninterrupted lit state of the light-emitting diode and a plurality of configuration states (Ex, En) accessible by actions on the configuration key (CONF), the configuration of multiple configuration states taking place from the single configuration key (CONF), the operating method comprising an action on the configuration key in the form of a first particular press in the operating mode on the configuration key (CONF) enabling the module to be switched from operating mode to configuration mode and an action in the form of a second particular press in the configuration mode enabling the configuration mode to be exited and the operating mode to be returned to, the operating method comprising a step of counting the number of actions on the configuration key and selecting a configuration state (En) according to the number (n) of actions on the configuration key, the operating method comprising a step of analyzing the duration of a press on the configuration key before the key is released, a single press having a predefined duration and a particular press (U2, U3) having a duration greater than the duration of a single press, after a series of x single presses of the configuration key, with the selected configuration state being Ex, the light-emitting diode being used to signal the configuration of this Ex state by flashing one or more times with a particular color, the sequence of states that the light-emitting diode can assume being defined for each configuration state reference. - A radio frequency transmission and reception module, - At least one electronic switch, - Power supply conductors (L1, N1), suitable for connection to mains supply lines (L, N), - An electronic unit, an input of which is connected to the radio frequency transmission and reception module and an output of which activates the electronic switch, - A configuration key (CONF), - A light-emitting diode, the operating method comprising a step of switching from an operating mode to a configuration mode, obtained by an action on the configuration key (CONF), the configuration mode comprising an initial state, indicated by an uninterrupted lit state of the light-emitting diode and a plurality of configuration states (Ex, En) accessible by actions on the configuration key (CONF), the configuration of multiple configuration states taking place from the single configuration key (CONF), the operating method comprising an action on the configuration key in the form of a first particular press in the operating mode on the configuration key (CONF) enabling the module to be switched from operating mode to configuration mode and an action in the form of a second particular press in the configuration mode enabling the configuration mode to be exited and the operating mode to be returned to, the operating method comprising a step of counting the number of actions on the configuration key and selecting a configuration state (En) according to the number (n) of actions on the configuration key, the operating method comprising a step of analyzing the duration of a press on the configuration key before the key is released, a single press having a predefined duration and a particular press (U2, U3) having a duration greater than the duration of a single press, after a series of x single presses of the configuration key, with the selected configuration state being Ex, the light-emitting diode being used to signal the configuration of this Ex state by flashing one or more times with a particular color, the sequence of states that the light-emitting diode can assume being defined for each configuration state reference.