Updated policy_check for LightVirtualSensor and PIRVirtualSensor