A monitoring camera having a heating arrangement (111, 112, 113, 114, 115) comprising a heater arranged to supply heat to a camera window (104, 111), wherein the monitoring camera comprises: - a thermally conductive member having a first contacting surface and a second contacting surface, wherein the first contacting surface is arranged in contact with a housing (101,102,103) of the camera and wherein the second contacting surface is arranged in contact with a contacting surface of the heating arrangement (111, 112, 113, 114, 115) when a local temperature at the thermally conductive member is below a local temperature threshold, thereby arranged to transfer heat supplied by the heating arrangement (111, 112, 113, 114, 115) to the housing (101,102,103); - a thermally insulating member having a first contacting surface arranged in close proximity with the housing (101,102,103) and a second contacting surface arranged in close proximity with the contacting surface of the heating arrangement (111, 112, 113, 114, 115), and - wherein at least one out of the thermally conductive member and the thermally insulating member is configured to, when the local temperature at the thermally conductive member and the thermally insulating member increases above the local temperature threshold during operation of the heater, change its extension in a direction perpendicular to the contacting surface of the heating arrangement (111, 112, 113, 114, 115) to: enable contact between the first contacting surface of the thermally insulating member and the housing (101,102,103) and between the second contacting surface of the thermally insulating member and the contacting surface of the heating arrangement (112, 113, 114, 115), and disable contact between the first contacting surface of the thermally conductive member and the housing (101,102,103) and between the second contacting surface of the thermally conductive member and the contacting surface of the heating arrangement (112, 113, 114, 115), thereby arranged to thermally insulate the housing (101,102,103) from the heating arrangement (112, 113, 114, 115). - a thermally conductive member having a first contacting surface and a second contacting surface, wherein the first contacting surface is arranged in contact with a housing (101,102,103) of the camera and wherein the second contacting surface is arranged in contact with a contacting surface of the heating arrangement (111, 112, 113, 114, 115) when a local temperature at the thermally conductive member is below a local temperature threshold, thereby arranged to transfer heat supplied by the heating arrangement (111, 112, 113, 114, 115) to the housing (101,102,103); - a thermally insulating member having a first contacting surface arranged in close proximity with the housing (101,102,103) and a second contacting surface arranged in close proximity with the contacting surface of the heating arrangement (111, 112, 113, 114, 115), and - wherein at least one out of the thermally conductive member and the thermally insulating member is configured to, when the local temperature at the thermally conductive member and the thermally insulating member increases above the local temperature threshold during operation of the heater, change its extension in a direction perpendicular to the contacting surface of the heating arrangement (111, 112, 113, 114, 115) to: enable contact between the first contacting surface of the thermally insulating member and the housing (101,102,103) and between the second contacting surface of the thermally insulating member and the contacting surface of the heating arrangement (112, 113, 114, 115), and disable contact between the first contacting surface of the thermally conductive member and the housing (101,102,103) and between the second contacting surface of the thermally conductive member and the contacting surface of the heating arrangement (112, 113, 114, 115), thereby arranged to thermally insulate the housing (101,102,103) from the heating arrangement (112, 113, 114, 115). enable contact between the first contacting surface of the thermally insulating member and the housing (101,102,103) and between the second contacting surface of the thermally insulating member and the contacting surface of the heating arrangement (112, 113, 114, 115), and disable contact between the first contacting surface of the thermally conductive member and the housing (101,102,103) and between the second contacting surface of the thermally conductive member and the contacting surface of the heating arrangement (112, 113, 114, 115), thereby arranged to thermally insulate the housing (101,102,103) from the heating arrangement (112, 113, 114, 115).