No project description provided
Project description
pyhaversion
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
Release history Release notifications | RSS feed
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)