protected function initStates() { $this->states = ['on' => static::STATE_ON, 'off' => static::STATE_OFF]; }