A method of controlling at least one comfort parameter in a building, the building comprising a system for controlling the at least one comfort parameter, the system for controlling the at least one comfort parameter comprising a user interface device, a sensor, and a control device (7, 10), wherein the primary purpose of the sensor is different from recording a signal indicative of the at least one comfort parameter, the method comprising the steps of: providing a demand signal in respect of a change in the at least one comfort parameter, wherein the demand signal is provided by a user and using the user interface device; the user interface device transmitting the demand signal to the control device (7, 10); the control device (7, 10) obtaining a reading from the sensor, the reading being indicative of a parameter other than the at least one comfort parameter; the control device (7, 10) analysing the demand signal based on a current state of the system for controlling the at least one comfort parameter and based on the reading obtained from the sensor; the control device (7, 10) changing one or more settings (8, 12) of the system for controlling the at least one comfort parameter based on the analysis of the demand signal; and the control device (7, 10) producing a control signal as a function of the one or more changed settings (8, 12) of the system, characterised in that the building comprises a smoke detector and wherein the sensor (4, 15) is a temperature sensor inside the smoke detector, wherein the at least one comfort parameter is a room temperature of a room of the building, the method comprising the steps of: the control device (7, 10) obtaining a reading from the sensor (4, 15), the reading being a temperature reading indicative of a temperature inside the smoke detector; and the control device (7, 10) analysing the demand signal based on a current state of the system for controlling the room temperature of the room of the building and based on the temperature reading obtained from the sensor (4, 15). providing a demand signal in respect of a change in the at least one comfort parameter, wherein the demand signal is provided by a user and using the user interface device; the user interface device transmitting the demand signal to the control device (7, 10); the control device (7, 10) obtaining a reading from the sensor, the reading being indicative of a parameter other than the at least one comfort parameter; the control device (7, 10) analysing the demand signal based on a current state of the system for controlling the at least one comfort parameter and based on the reading obtained from the sensor; the control device (7, 10) changing one or more settings (8, 12) of the system for controlling the at least one comfort parameter based on the analysis of the demand signal; and the control device (7, 10) producing a control signal as a function of the one or more changed settings (8, 12) of the system, the control device (7, 10) obtaining a reading from the sensor (4, 15), the reading being a temperature reading indicative of a temperature inside the smoke detector; and the control device (7, 10) analysing the demand signal based on a current state of the system for controlling the room temperature of the room of the building and based on the temperature reading obtained from the sensor (4, 15).