Set array to global once a day, then get specific array by the hour

That is a syntax error also. i.e [ ]

You used my last code example from Getting next hours electric spot-price from Nordpool via nordpool-api-plus - #5 by E1cid
But you didn't even acknowledge me in the thread.