home-assistant

Manage and query Home Assistant devices via REST and WebSocket APIs.

2|Updated Nov 9, 2021
One-click install
npx skills add https://github.com/adampetrovic/dotfiles --skill home-assistant-adampetrovic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/adampetrovic/dotfiles/tree/main/dot_pi/agent/skills/home-assistant
Command: npx skills add https://github.com/adampetrovic/dotfiles --skill home-assistant-adampetrovic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows for seamless control and querying of your Home Assistant smart home instance, enabling you to manage devices, automations, and retrieve real-time status information.

Core Features & Use Cases

  • Device Control: Turn lights on/off, adjust thermostats, and control various smart home devices.
  • Information Retrieval: Get the current state of sensors, check automation statuses, and list available entities.
  • Automation & Scene Management: Trigger scripts, activate scenes, and manage automations within Home Assistant.
  • Dashboard Configuration: Read and update Lovelace dashboard configurations via the WebSocket API.
  • Use Case: "Turn off the living room lights and set the thermostat to 20 degrees Celsius." or "What is the current temperature in the bedroom?"

Quick Start

Use the home-assistant skill to discover all climate entities.

Frequently Asked Questions about home-assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control smart home devices using the Home Assistant API?

Control smart home devices via the Home Assistant API by managing instances through its REST and WebSocket APIs. Supports turning lights on/off, adjusting thermostats, triggering automations, and retrieving real-time entity states.

What do I need to authenticate API requests to my Home Assistant instance?

Authenticate API requests to your Home Assistant instance by setting the HASS_URL and HASS_TOKEN environment variables. These credentials enable the skill to connect securely and manage device states or automations.

Can I update Lovelace dashboard configurations through the Home Assistant WebSocket API?

Update Lovelace dashboard configurations through the Home Assistant WebSocket API by reading and modifying dashboard settings. This allows dynamic adjustments to your smart home interface layout and widgets.

How do I retrieve the current state of smart home sensors from Home Assistant?

Retrieve the current state of smart home sensors from Home Assistant by querying available entities via the REST API. Check sensor statuses, list entities, and get real-time temperature or device readings.

Does this skill support triggering automations and activating scenes in Home Assistant?

Trigger automations and activate scenes in Home Assistant using this skill's automation and scene management features. It supports executing scripts and managing automation workflows directly through the API.

What is the best way to manage IoT device control across a Home Assistant smart home setup?

Manage IoT device control across a Home Assistant smart home setup by leveraging the REST and WebSocket APIs for unified device management. Control lights, thermostats, and sensors while retrieving real-time status.