# retrieve current power value as reported by envertecportal
if isDaylight(conf['config'].getfloat('lat'), conf['config'].getfloat('lon'),
# retrieve current power value as reported by envertecportal
if isDaylight(conf['config'].getfloat('lat'), conf['config'].getfloat('lon'),
currentPower = getCurrentPower(conf['config']['userName'],
conf['config']['password'],
conf['config']['stationId'])
currentPower = getCurrentPower(conf['config']['userName'],
conf['config']['password'],
conf['config']['stationId'])