public function once(bool $set = null)
    {
        if ($set) {
            return $this->setFrequency(AlarmInterface::ONCE);
        }
        return $this->getFrequency() === AlarmInterface::ONCE;
    }