(self)
return True
Return bool if repository can be installed.
Return bool if repository can be installed.
Return bool if repository can be installed .
def can_install(self):
        """Return bool if repository can be installed."""
        if self.information.homeassistant_version is not None:
            if self.releases.releases:
                if LooseVersion(self.system.ha_version) < LooseVersion(
                    self.information.homeassistant_version
                ):
                    return False
        return True
def can_install ( self ) : if self . information . homeassistant_version is not None : if self . releases . releases : if LooseVersion ( self . system . ha_version ) < LooseVersion ( self . information . homeassistant_version ) : return False return True