SceneGen not finding any entities

Hi

I’ve installed SceneGen on an Ubuntu VM in the hopes of exporting my Hue scenes as HA scenes.

The weird thing is, the script runs fine but returns absolutely 0 entities. Can anyone shed any light?

I have confirmed my API key is correct, as is the server name & port.