def isDusk(self, val): self._States.set('is.dusk', val, 'bool') self.__isDusk = val self._Statistics.datapoint("lib.times.is_dusk", is_one_zero(val))
def isTwilight(self, val): self._States.set('is.twilight', val, 'bool') self.__isTwilight = val self._Statistics.datapoint("lib.times.is_twilight", is_one_zero(val))
def isDawn(self, val): self._States.set('is.dawn', val, 'bool') self.__isDawn = val self._Statistics.datapoint("lib.times.is_dawn", is_one_zero(val))