ha-entity-lifecycle

Official

Manage Home Assistant entity lifecycles.

AuthorL3DigitalNet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand and manage the lifecycle of entities within Home Assistant, including device and entity registry interactions, ensuring proper registration, state management, and cleanup.

Core Features & Use Cases

  • Entity Lifecycle Management: Covers platform discovery, entity creation, registration, initial updates, and removal.
  • State Restoration: Demonstrates how to restore an entity's previous state upon re-initialization.
  • Device Registry Integration: Explains how to define DeviceInfo for grouping entities under a specific device, using stable identifiers.
  • Use Case: When developing a new Home Assistant integration, use this Skill to ensure your custom entities are correctly registered, handle state persistence, and are properly cleaned up when removed.

Quick Start

Explain how to restore the previous state of a Home Assistant entity.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ha-entity-lifecycle
Download link: https://github.com/L3DigitalNet/Claude-Code-Plugins/archive/main.zip#ha-entity-lifecycle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.