Skip to main content

No project description provided

Project description

pyhaversion Build Status

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

Install

pip install pyhaversion

Example usage

import pyhaversion

source = 'pip'
branch = 'stable'
image = 'default' # Optional (Only used for Hassio)

result = pyhaversion.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-1.0.1.tar.gz (2.6 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