Skip to main content

No project description provided

Project description

pyhaversion Build Status

A python module to the newest version number of Home Assistant.


pip install pyhaversion

Example usage

from pyhaversion import HAVersion

source = 'pip'
branch = 'stable'
image = 'default'

ha_version = HAVersion()
result = ha_version.get_version_number(source, branch, image)

#Print results:
print('HA version: ' + result['homeassistant'])

Valid options for source

  • pip
  • docker
  • hassio

Valid options for branch

  • stable
  • beta

Optional valid options for image (hassio)

  • default
  • qemux86
  • qemux86-64
  • qemuarm
  • qemuarm-64
  • intel-nuc
  • raspberrypi
  • raspberrypi2
  • raspberrypi3
  • raspberrypi3-64
  • tinker

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhaversion-0.1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page