The two separate connectors running closely parallel with a slight gap is a typical rain/wetness sensor.
About 43 years ago my Dad and my Mom took fine enameled copper wire recovered from an old transformer and stitched it into a rubber mat in similar parallel loops to detect a kid wetting the bed. A little sanding to remove enamel and expose copper and the ""moisture detector"" would trip a very sensitive relay.
A stripped out old radio case housed the relay and a door bell.
UNfortunately the sensitive relay also had a lot of impedence and created an inductive kick that gave the kid more motivation to not wet the bed than was originally intended.
It quickly brought an end to bed wetting.
I've heard of people using a similar "rain gauge" or "flood gauge" in their basement to alert to the early stages of basement flooding.
Somebody suggested that with dry salt placed on top of such a detector it might conduct well enough that a sensitive relay may not even be necessary.
Higher tech versions with electronics would of course not need such low tech tricks.
On a related note, they supposedly use a higher tech version of this to detect humidity for dehumidifiers etc.
As a Northerner with heavy Nordic ancestry and lots of snow shoveling experience I was ticked off when some electrically heated sidewalks in Minneapolis in the 1980's were outlawed and turned off to save energy.
The sheer labor, physical toll on people and massive business cost of snow shoveling made me somewhat UNIMPRESSED with the energy savings.
Heated sidewalks are particularly nice when it comes to freezing rain which is what we are getting here today.
Interestingly, here in Cedar Rapids Iowa, our halls of ""Justice"" needed some new sidewalk and I noticed that heating tubes/elements were built into the new concrete sidewalk/steps.
Apparently the ""energy savings"" trend has been reversed, and some penny pincher in government realized that the cost of snow removal was indeed large enough to justify heated concrete sidewalks/steps.
I suspect that heating concrete probably also can make the concrete last MUCH longer by eliminating the freeze/thaw cycle which is EXTREMELY destructive to concrete, tearing it apart from freezing in any hairline crack.
My own "hands on" experience has taught me that contrary to textbook science, an ambient of 32 F is NOT required for unheated concrete to melt ice/snow residue left after shoveling. In PRACTICE, Ice melts on my concrete driveway at 20 F withOUT salt or heating elements, apparently due to tiny amounts of solar heat BUT aided by some exposure of the darker wet concrete to sun light.
I would suspect that the detector you noticed in Norway was to detect snow cover.
They probably turn off a master switch for the few months of summer on the permafrost (sic).
Lenge Livre' Norge.
Ya sure you betcha by golly!