def grantgetter(self, f):
        self._grantgetter = f
        return f
The triggers to turn lights on or off based on device presence.
dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2Provider.grantgetter--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/device_sun_light_trigger.py/setup