Skip to content
Back to skills

Home Assistant Knowledge Patch

ASecurity

Home Assistant

  • 25 stars
  • 0 votes
  • 1 copy
  • 7 views
  • Added September 5, 2026
developmentrustdockerapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill home-assistant-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Home Assistant Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Home Assistant Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-home-assistant-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-home-assistant-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: home-assistant-knowledge-patch
description: Home Assistant
version: "2026.11.3"
license: MIT
metadata:
  author: Nevaberry
---


# Home Assistant knowledge patch

Load this skill for Home Assistant upgrades, automations, templates, Assist,
dashboards, backups, device integrations, and custom integration maintenance.
Use the quick reference for common changes and the topic files for full details,
including integration-specific exceptions and version-dependent behavior.

| Reference | Topics |
| --- | --- |
| [Migrations and breaking changes](references/migrations-breaking-changes.md) | Removed configuration, actions and attributes; state and unit changes; device targets; integration requirements |
| [Automations, templates, Assist and AI](references/automations-templates-assist.md) | Triggers, conditions, actions, variables, helpers, blueprints, voice, conversation agents and AI tasks |
| [Backups, system and installation](references/backups-system-installation.md) | Encryption, retention, storage, updates, installation, HTTP, authentication, logs and diagnostics |
| [Dashboards, cards and energy](references/dashboards-cards-energy.md) | Built-in dashboards, Sections, card controls, names, charts, power, energy and water |
| [Integrations, devices and services](references/integrations-devices-services.md) | Setup, protocol tools, hardware support, device capabilities, media and service actions |
| [Custom integration development](references/custom-integration-development.md) | Config flows, discovery, entity APIs, services, coordinators, storage and development tooling |

## Breaking changes and deprecations

### Legacy templates and Kelvin color temperatures

Move legacy `platform: template` entries to the top-level `template:` integration.
The removal affects `alarm_control_panel`, `binary_sensor`, `cover`, `fan`, `light`,
`lock`, `sensor`, `switch`, `vacuum`, and `weather`.
Replace mired `color_temp` action data with `color_temp_kelvin`, using a Kelvin value.
For light attributes, use `color_temp_kelvin`, `min_color_temp_kelvin`, and
`max_color_temp_kelvin` in place of `color_temp`, `kelvin`, `min_mireds`, and `max_mireds`.
`lifx.effect_pulse` also rejects mired `color_temp`; pass `color_temp_kelvin`.

### MQTT identifiers and publish templates

Replace `object_id` in MQTT YAML or discovery payloads with `default_entity_id`,
including the entity domain. Discovery ignores legacy `object_id` values and
continues processing the payload. Supply `unique_id` to use an MQTT entity's
`device` configuration; without it, that configuration is ignored, including
`via_device` entries that previously created a registry device.
For `mqtt.publish`, replace `topic_template` and `payload_template` with `topic`
and `payload`, which accept templates. Omitting `payload` sends an empty payload.

### Purpose-specific trigger migrations

Purpose-specific triggers and conditions are available without enabling the Labs
preview. Integrations, including custom ones, can supply their own.
For purpose-specific triggers, replace behavior `any` with `each` and `last` with `all`;
the default is `each`. Reselect renamed triggers or conditions in the editor and
save, or update their keys. Examples include `battery.low` → `battery.became_low`,
`vacuum.docked` → `vacuum.returned_to_dock`, and
`climate.target_temperature` → `climate.is_target_temperature`.
The migrations reference contains the complete key mapping.

### Signed Sun and calendar offsets

When `offset_type` is omitted, `sun.*`, `calendar.event_started`, and
`calendar.event_ended` interpret negative offsets as before the event and positive
offsets as after it. Flip the sign in existing YAML that supplied `offset` without
`offset_type`.

### Label targets and device ownership

Actions targeting a label also affect configuration and diagnostic entities with
that label. Review label assignments used by existing automations and scripts.
A registry device belongs to one config entry and at most one subentry. Upgrades
split devices previously shared across integrations and move entities to the
appropriate device. Review automations targeting the old device ID and follow repairs.
ZHA groups with group entities get their own devices: retarget coordinator-based
automations to the group device or entity, and assign an explicit area if the group
previously relied on the coordinator's area.

### Contextual entity names

Cards, badges, and rows without an explicit name combine device and entity names.
If migration changes the displayed name, the old name becomes a voice alias.
Use **Main entity of the device** for its primary entity or set a card name.
Replace reads of the soon-to-be-deprecated `friendly_name` attribute with
`entity_name()`, `device_name()`, or `area_name()` as appropriate.

### Notification and media action replacements

Remove `platform: telegram` from YAML `notify` configuration and add each chat ID
as a Telegram Bot subentry. Use `notify.send_message` with its notify entity for
text, or `telegram_bot` actions for photos, documents, and keyboards.
Replace `bluesound.join` and `bluesound.unjoin` with `media_player.join` and
`media_player.unjoin`. SMTP notification actions fail on unreadable attachments;
check paths or include only files that exist before calling the action.

### Action validation and failure handling

Supervisor action failures raise errors and stop the containing script or automation.
Set `continue_on_error: true` on an individual action if subsequent steps should run.
In webhook triggers, use boolean `true` or `false` for `local_only`, not `1` or `"yes"`.
`input_text.set_value` rejects values that violate the helper's configured pattern.
Provide an explicit entity target for `xiaomi_miio` light, switch, and fan actions;
calls without a target fail validation.

### Login origins and server requirements

For public IP, global IPv6, or Tailscale addresses, the browser URL's scheme, host,
and port must match the request URL Home Assistant sees. For **Invalid client id**
behind a reverse proxy, check the forwarded scheme and host, including the port,
and the trusted-proxy settings.
Home Assistant 2026.11 requires Z-Wave JS app 1.9.0, Z-Wave JS UI 11.24.2, or
standalone `zwave-js-server` 3.11.0 or later, depending on installation.
Upgrade Uptime Kuma to 2.0.0 or later before updating Home Assistant.

## Automations and templates

### Excluding targets dynamically

Use **Exclude target** to omit entities, devices, areas, floors, or labels from a
trigger, condition, or action. `target.exclude` takes the same keys as `target`,
and Home Assistant resolves the exclusion each time the step runs.

```yaml
- action: light.turn_on
  target:
    floor_id: ground_floor
    exclude:
      area_id: kitchen
```

### Variable scope and missing template states

A nested `variables` action updates an existing variable in its enclosing scope.
A new name is created in the top-level run scope. `wait` and `response_variable`
values propagate to enclosing scopes, including responses from `parallel` branches.
A template binary sensor returning `None` produces `unknown`; return `False` for `off`.
A template fan's state syntax error yields `unavailable`, while `None` yields
`unknown`; a percentage-template syntax error yields a `None` percentage.

### Template capabilities and blueprint inputs

Template the entire `attributes` mapping, and use per-entity `conditions` to gate
all updates to a trigger-based template entity. Template now supports water heater
and media player entities; template covers can report and set movement speed.
Trigger-based template entities can use variables defined on their triggers.
Integration forms and blueprints can conditionally show fields based on earlier
answers; blueprints can also condition whole input sections. Hidden fields are
optional and their values are discarded.

## Assist and AI tasks

### Structured results and satellite questions

Add an **AI Task** subentry to a supported AI integration to call
`ai_task.generate_data` from automations, scripts, or template entities, optionally
with camera or file attachments. Declare selector fields under `structure` and
read them from the response's `data` object.
Use `assist_satellite.ask_question` with expected sentences for local
Speech-to-Phrase replies. Set `response_variable`, branch on the answer's `id`,
and use captured `slots` in later actions.
With an LLM conversation agent, `assist_satellite.start_conversation` can speak a
prompt on an ESPHome Assist satellite and listen for the reply.

### MCP direction, tool names and permissions

Model Context Protocol Server exposes Home Assistant tools to external MCP clients.
Model Context Protocol gives a Home Assistant conversation agent access to tools
from external MCP servers. Tool names use the offering integration's domain plus
two underscores, such as `homeassistant__GetLiveContext` and `intent__HassTurnOn`;
update custom prompts that explicitly name tools.
An administrator can attach an LLM API to a conversation agent or MCP server for
diagnostic and action tools. System log access requires administrator privileges;
the MCP server can expose read-only tools. Only the user who started a conversation
can continue it. Attach the KNX LLM API for telegram-store, project-file, and DPT tools.

### Voice and conversation inspection

Supported ESPHome satellites can assign a separate Assist pipeline to each of two
wake words. Experimental Android wake-word detection runs on the phone and can
open Assist while it is locked. When multiple Android phones, or Android phones
alongside voice satellites, hear a wake word, only the fastest responds.
The voice assistant debug interface exposes the system prompt and tool calls.
In desktop web Assist, **Show details** exposes thinking steps, calls, arguments,
and results. Cloud subscribers can enable the speech-to-text preview in Labs.

## Backups and system operations

### Encryption, retention and restore

Encryption can be disabled per backup location; Home Assistant Cloud always stores
encrypted backups. Every backup downloaded through the instance's interface arrives
unencrypted, including Cloud-storage downloads. Keep the emergency kit's encryption
key for restores. Home Assistant must be running to create a backup.
**Backup now** uses automatic backup settings and enforces retention after each run.
Use a manual backup to choose contents and keep it outside automatic cleanup.
Retention is configurable per location, preserves at least one existing backup per
location, and requires at least one day or one copy for the selected policy.

### Scheduling, progress and storage

Choose backup time and weekly days in settings, or call `backup.create_automatic`
after your own automation triggers and conditions. Check Repairs for failed scheduled
backups or partial failures involving add-ons or folders. Backup agents that report
progress provide separate upload percentages for their locations.
On Home Assistant OS, **Settings > System > Storage > Add storage > Local disk**
accepts an already formatted internal or USB drive for backups, media, or shared files.
Restoring no longer requires free space for a full temporary copy; monitor size with
the **Last successful automatic backup size** sensor.

### Installation and web server changes

Core and Supervised installation support, and support for `i386`, `armhf`, and
`armv7`, ends with 2025.12. Follow the repair's migration guidance to Home Assistant
OS or Container. Container images use `zstd`; Docker 23.0.0 and containerd 1.5.0 or
later support it. Check support before updating an older runtime.
Web server settings import from YAML into the UI on upgrade, retaining the configured
port. Failed settings or settings left unconfirmed for five minutes are rolled back.
Removing imported YAML is optional; check Repairs for cleanup guidance.

## Dashboards and troubleshooting

### Built-in dashboards and derived totals

The former Home dashboard is called **Overview**. **Overview (legacy)** remains
available under **Settings > Dashboards > Create** for the previous layout.
An **Automatic section** in a Sections view can show common controls, one device's
entities, or entities matching selected types and targets. **Convert to manual
section** retains the current cards and stops automatic updates.
In Energy configuration, selecting a power sensor for home consumption, a solar
panel, or an individual device generates or reuses its derived energy sensor.
Gas and water flow-rate sensors can likewise generate total sensors.

### Logs, traces and action history

Enable integration debug logging and choose **Show logs** to stream or download
the integration's log lines, including its libraries' messages since startup.
Use **View trace of** to open the exact nested script or automation run, including
individual repeat iterations. In **Settings > Tools > Action history**, inspect
cause, user, context ID, targets and YAML call data; **Perform again** reruns the call.

## Custom integration maintenance

Check discovery `ServiceInfo` imports, config-entry state transitions, unique-ID
checks, and `ConfigSubentryFlow` changes in the development reference.
`UnitSystem` is frozen: create a new unit system instead of assigning fields.
Custom integrations must opt in to serializing `Store` data in a worker thread.
Supply `domain` when constructing `BrowseMediaSource`. Publish vacuum battery
readings through a separate sensor; the base vacuum's `battery_level` is removed.

Files in this skill

  • SKILL.md11.9 KB
  • coverage.json2.2 KB
  • references/automations-templates-assist.md23.8 KB
  • references/backups-system-installation.md9.5 KB
  • references/custom-integration-development.md4.3 KB
  • references/dashboards-cards-energy.md19.1 KB
  • references/integrations-devices-services.md34.6 KB
  • references/migrations-breaking-changes.md30.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.