ha-integration-testing

Test Home Assistant integration deployment, entities, services, and dashboards.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/jackmcintyre/localshift --skill ha-integration-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ha-integration-testing
Source: https://github.com/jackmcintyre/localshift/tree/main/.opencode/skills/ha-integration-testing
Command: npx skills add https://github.com/jackmcintyre/localshift --skill ha-integration-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that custom Home Assistant integrations, like LocalShift, are correctly deployed, configured, and functioning as expected within a live Home Assistant environment.

Core Features & Use Cases

  • Deployment Verification: Confirms that the integration deploys without errors and restarts correctly.
  • Entity & Service Validation: Checks for the presence and correct state of all expected entities and services exposed by the integration.
  • Functional Testing: Executes predefined test scenarios to validate core functionalities, such as mode changes and state updates.
  • Dashboard Check: Verifies that the associated Lovelace dashboard is accessible and contains the expected cards.
  • Use Case: After deploying a new version of the LocalShift integration, use this Skill to automatically run a comprehensive suite of tests to confirm everything is working before relying on it for critical energy management.

Quick Start

Run a complete integration test for the LocalShift skill in Home Assistant.

Frequently Asked Questions about ha-integration-testing

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

FAQPage Schema
How do I verify Home Assistant integration deployment and entity states?

Home Assistant integration testing validates deployment, entity presence, service availability, and state updates against expected functional scenarios. It checks critical components like sensors, binary sensors, and switches to ensure everything works correctly.

What does Home Assistant service validation check for?

Home Assistant service validation checks for the presence and correct state of all expected entities and services exposed by the integration, executing predefined test scenarios to validate core functionalities like mode changes.

Do I need a live Home Assistant instance to run integration tests?

Yes, you need access to a live Home Assistant instance with the integration and its prerequisites, such as Teslemetry, Amber Electric, or Solcast, configured before running deployment verification and functional testing.

Can I test Lovelace dashboard configuration as part of Home Assistant automation testing?

Yes, Home Assistant automation testing includes a dashboard check that verifies the associated Lovelace dashboard is accessible and contains the expected cards for the integration.

What is the best way to confirm a custom Home Assistant integration is functioning after an update?

The best way to confirm a custom integration is functioning is to run a comprehensive suite of integration tests that validate deployment, entity states, service availability, and dashboard configuration before relying on it.

Why are my Home Assistant integration entities not updating after deployment?

Entities may not update if the integration deployed with errors or failed to restart correctly. Running deployment verification and functional testing checks state updates and mode changes to identify the failure.