A method for configuring a home automation installation , comprising a plurality of home automation devices (D) and a plurality of central control units (U, U1, U2); the method being executed by a management unit (Sv) or by a mobile terminal (T) connected to the home automation installation and characterized in that it comprises the following steps: i. Receiving (ETCfSv1) a configuration message (MCf) coming from a user (Usr) or an application (A) running on the management unit (Sv) or on another connected management unit, the message (Mcf) comprising a definition of a conditional expression (CE) defining - an evaluation of at least one condition (Cnd) relating to: - at least one state variable (S) of at least one home automation device (D) and / or - at least one time or date; and - a conditional triggering of at least one action (Ac, AcU1, AcU2); ii. Determining (ETCfSv5) a list (UL) comprising at least one central control unit (U, U1, U2) capable of - evaluating the at least one condition (Cnd) and / or - triggering the at least one action (Ac, AcU1, AcU2); iii. Generating (ETCfSv6) at least one conditional software code module (CCM) allowing, when executed by the at least one central control unit (U, U1, U2) comprised in the list (UL), to evaluate the at least one condition (Cnd) and / or to trigger the at least one action (Ac, AcU1, AcU2); iv. Sending (ETCfSv7) at least one configuration message (MCfU1, MCfU2) comprising a definition of the at least one conditional software code module (CCM) to the at least one central control unit (U, U1, U2) comprised in the list (UL), i. Receiving (ETCfSv1) a configuration message (MCf) coming from a user (Usr) or an application (A) running on the management unit (Sv) or on another connected management unit, the message (Mcf) comprising a definition of a conditional expression (CE) defining - an evaluation of at least one condition (Cnd) relating to: - at least one state variable (S) of at least one home automation device (D) and / or - at least one time or date; and - a conditional triggering of at least one action (Ac, AcU1, AcU2); - an evaluation of at least one condition (Cnd) relating to: - at least one state variable (S) of at least one home automation device (D) and / or - at least one time or date; and - at least one state variable (S) of at least one home automation device (D) and / or - at least one time or date; - a conditional triggering of at least one action (Ac, AcU1, AcU2); ii. Determining (ETCfSv5) a list (UL) comprising at least one central control unit (U, U1, U2) capable of - evaluating the at least one condition (Cnd) and / or - triggering the at least one action (Ac, AcU1, AcU2); - evaluating the at least one condition (Cnd) and / or - triggering the at least one action (Ac, AcU1, AcU2); iii. Generating (ETCfSv6) at least one conditional software code module (CCM) allowing, when executed by the at least one central control unit (U, U1, U2) comprised in the list (UL), to evaluate the at least one condition (Cnd) and / or to trigger the at least one action (Ac, AcU1, AcU2); iv. Sending (ETCfSv7) at least one configuration message (MCfU1, MCfU2) comprising a definition of the at least one conditional software code module (CCM) to the at least one central control unit (U, U1, U2) comprised in the list (UL), <EOS>