home-assistant

Control Home Assistant devices and automations via Python scripts.

5|Updated Feb 7, 2021
One-click install
npx skills add https://github.com/ViktorBarzin/infra --skill home-assistant-viktorbarzin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/ViktorBarzin/infra/tree/main/.claude/skills/home-assistant
Command: npx skills add https://github.com/ViktorBarzin/infra --skill home-assistant-viktorbarzin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Control Home Assistant smart home devices and automations through AI-driven prompts, enabling hands-free management of devices, states, and scenes.

Core Features & Use Cases

  • Manage on/off states for lights, switches, and devices.
  • Query entity states and retrieve sensor readings.
  • Execute scenes and scripts and trigger services in Home Assistant deployments ha-london and ha-sofia.

Quick Start

Turn on the living room light.

Frequently Asked Questions about home-assistant

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

FAQPage Schema
How do I control Home Assistant devices through AI prompts?

This Skill manages Home Assistant smart home devices by executing Python scripts with environment-variable configuration for each deployment, activating a venv, and running defined commands like list, state, on/off, set, scene, script, service, and notify.

How do I check entity states and sensor readings in Home Assistant?

Querying entity states involves running the state command through the Python-script-based control workflow, retrieving current device statuses and sensor readings from the specified Home Assistant deployment.

Can I run Home Assistant scenes and scripts using text commands?

Executing scenes and scripts is supported through dedicated commands that trigger predefined automations and services within the configured Home Assistant deployments.

What do I need to set up before automating Home Assistant with this Skill?

Setup requires configuring environment variables for each Home Assistant deployment and activating a Python virtual environment to execute the control workflow commands.

Does this Skill support triggering Home Assistant services and notifications?

The Skill implements service and notify commands to trigger Home Assistant services and send notifications across the configured deployments.