Most people seem to use a ZigBee Contact Switch that opens or closes when power is lost (thus you could know the opposite when power comes on). Using a Z-Wave replacement for the contact switch should be an easy substitute.
Here is a thread about that type of thing: