Phue\Sensor::getSoftwareVersion PHP Method

getSoftwareVersion() public method

Get software version
public getSoftwareVersion ( ) : string | null
return string | null Software version
    public function getSoftwareVersion()
    {
        if (isset($this->attributes->swversion)) {
            return $this->attributes->swversion;
        }
        return null;
    }