homeassistant-ops

Apply bulk, reviewable Home Assistant changes via REST and WebSocket APIs.

4|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/informatico-madrid/ha-ev-trip-planner --skill homeassistant-ops-informatico-madrid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: homeassistant-ops
Source: https://github.com/informatico-madrid/ha-ev-trip-planner/tree/main/.agents/skills/homeassistant-ops
Command: npx skills add https://github.com/informatico-madrid/ha-ev-trip-planner --skill homeassistant-ops-informatico-madrid

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables bulk, reviewable changes to a Home Assistant instance via REST/WebSocket APIs without SSH access.

Core Features & Use Cases

  • Inventory runtime state and registries and propose explicit changes.
  • Apply changes in small, validated batches with dry-run and JSON logging options.
  • Record a timestamped log and provide a rollback path to revert changes if needed.
  • Use snapshots before/after for diffs and offline analysis.

Quick Start

Run the ha_ops CLI with appropriate environment variables to inventory, plan, apply, and validate changes in your Home Assistant instance.

Frequently Asked Questions about homeassistant-ops

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

FAQPage Schema
How do I make bulk changes to Home Assistant without SSH access?

Bulk Home Assistant changes can be made without SSH by using the official REST and WebSocket APIs. This skill authenticates via environment variables and applies changes in small, validated batches with timestamped logging and rollback mappings.

What is the best way to audit and review bulk changes in Home Assistant?

Auditable Home Assistant changes are achieved through a plan, apply, and validate workflow. The process records a timestamped JSON audit log of all API actions and provides a rollback path to revert changes if needed.

How do I inventory and snapshot Home Assistant state before applying updates?

You can inventory runtime state and registries by querying the Home Assistant APIs. The skill uses snapshots before and after applying changes to generate diffs for offline analysis and validation.

Can I dry-run proposed Home Assistant modifications before committing them?

Yes, proposed Home Assistant modifications can be dry-run before application. The workflow explicitly separates planning and applying, allowing you to review proposed changes and validate behavior in small batches before full execution.

Do I need a long-lived access token to automate Home Assistant operations via API?

Automating Home Assistant operations via the API requires setting the HA_URL and HA_TOKEN environment variables. These credentials authenticate the REST and WebSocket connections used for state inventory and batch updates.

How does WebSocket compare to REST API for automating Home Assistant tasks?

The skill leverages both REST and WebSocket APIs to automate Home Assistant tasks. REST handles standard state and registry modifications, while WebSocket supports real-time communication, together enabling batched operations with timestamped logging.