Skip to main content

Python Wrapper for Homeassistant's REST API

Project description

HomeassistantAPI

Lines of code PyPI - Downloads GitHub commits since latest release (by date including pre-releases) Read the Docs (version) GitHub release (latest by date) GitHub release (latest by date)

GitHub Contributors Image

Homeassistant Logo

Python Wrapper for Homeassistant's REST API

Please ⭐️ the repo if you find this project useful or cool!

For contributing guidelines see towards the bottom.

from homeassistant_api import Client

client = Client(
    '<API URL>',
    '<Long Lived Access Token>'
)

client.get_domains().cover.open_garage(entity_id='cover.my_garage_door')

Documentation

All documentation, api reference, Contribution guidelines and pretty much everything else you'd want to know is on our readthedocs site here

If theres something missing open an issue and let us know! Thanks!

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

HomeAssistant API-2.2.0.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

HomeAssistant_API-2.2.0-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

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