My first custom component - sensor integration does not support platform setup

Hi guys.
Im working on my first custom component, and im running into this error.

IIRC it was a somewhat recent breaking change, but im not sure exactly what it is that needs to change.

Ive pushed what ive currently got into github