but if I re-run the code as per above (to extract data) the "Last Temperature setpoint" still displays 19 °C which confuses me especially because the Netatmo mobile APP tells me 18 °C which is what I set via the script.

Am I looking at the wrong place/variable to get the currently set temperature?