Onvif camera platform - How to do PTZ?

Hi, i’m getting ‘NoneType’ object has no attribute ‘continuous’ to.
:S