### Install hassapi Package Source: https://github.com/hass-api/hassapi/blob/main/README.md Provides the command to install the hassapi Python package using pip. ```Shell pip install hassapi ``` -------------------------------- ### Control Home Assistant Devices and Scripts Source: https://github.com/hass-api/hassapi/blob/main/README.md Shows examples of using the Hass API client to control devices (e.g., turn on lights) and execute scripts within Home Assistant. ```Python hass.turn_on("light.bedroom_light") hass.run_script("good_morning") ``` -------------------------------- ### Initialize Hass API Client Source: https://github.com/hass-api/hassapi/blob/main/README.md Demonstrates how to initialize the Hass API client with Home Assistant URL, token, and optional SSL verification settings. ```Python from hassapi import Hass hass = Hass(hassurl="http://IP_ADDRESS:8123/", token="YOUR_HASS_TOKEN") # With SSL verification bypassed hass = Hass(hassurl="http://IP_ADDRESS:8123/", token="YOUR_HASS_TOKEN", verify=False) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.