Retrieve current zone from a custom view of a driver


The SDK announce and expose a function to retrieve the current zone:

I’m calling it from a custom view of a driver.
However, all I get in answer of this function is null !

Any idea?

I’m guessing that this might only work in a Repair view, since when creating a new device it isn’t assigned to a zone yet.

The function is described in the custom driver view documentation …

Yes, and the Repair documentation refers to that: