mirror of
https://github.com/hass-api/hassapi.git
synced 2022-10-22 18:29:31 +03:00
main
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
Description
Languages
Python
100%