Home Assistant Python API
Project description
Home Assistant Web API Client for Python
Examples
from hassapi import Hass
hass = Hass(hassurl="http://IP_ADDRESS:8123/", token="YOUR_HASS_TOKEN")
hass.turn_on("light.bedroom_light")
hass.run_script("good_morning")
Installation
pip install hassapi
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
hassapi-0.0.1.tar.gz
(4.6 kB
view hashes)