Construct Design Day Component Error

Hello I have an error which seems to be to do with the _sky_properties input:

Solution exception:Local variable ‘sky_condition’ referenceed before assignment

What seems to be the problem here?

I am using Mac OSX