Skip to content

TeamNightSky/HomeAssistantAPI

 
 

Repository files navigation

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)

Homeassistant Logo

Python Wrapper for Homeassistant's REST API

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

Here is a quick example.

from homeassistant_api import Client

with Client(
    '<API Server URL>',
    '<Your Long Lived Access-Token>'
) as client:

    light = client.get_domain("light")

    light.turn_on(entity_id='light.living_room_lamp')

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!

Go make some cool stuff! Maybe come back and tell us about it in a discussion? We'd love to hear about how you use our library!!

About

Python Wrapper for Homeassistant's REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%