Skip to content
Back to skills

Home Assistant Knowledge Patch

ASecurity

Home Assistant

  • 25 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 5, 2026
developmentrustdockergitapifrontend

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 9 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-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-home-assistant-knowledge-patch-nevaberry-plugins)

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 compatibility guidance

Load this skill when configuring, automating, troubleshooting, or extending
Home Assistant, including when updating an existing installation.
Use the topic references for complete integration-specific changes, examples,
and version-dependent behavior.

## Reference index

| Reference | Topics |
| --- | --- |
| [Breaking changes and migrations](references/breaking-changes.md) | Removed integrations, renamed actions and states, entity migrations, server requirements |
| [Automations, scripts, and templates](references/automation-templates.md) | Variable scope, triggers, conditions, selectors, blueprints, template entities, traces |
| [Backups and system operations](references/backup-system.md) | Encryption, retention, storage, updates, installation, web settings, permissions, logs, Marketplace |
| [Dashboards and user interface](references/dashboards-ui.md) | Overview, cards, charts, Energy, naming, navigation, visual editors |
| [Assist, voice, and AI](references/assist-ai.md) | Voice satellites, conversation agents, AI Task, speech, MCP, tool permissions |
| [Integrations, devices, and protocols](references/integrations-devices.md) | Integration setup, supported devices, controls, sensors, protocol behavior |
| [Custom integration and frontend development](references/integration-development.md) | Config flows, service APIs, discovery, storage, coordinators, themes, custom panels |

## Breaking changes and deprecations

### Legacy templates and light color temperature

Move legacy `platform: template` entries to the top-level `template:` integration
before upgrading. 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`.

### Automation scope, keys, and offsets

A nested `variables` action updates an existing variable in its enclosing scope;
a previously undefined name is created in the top-level run scope. Rename variables
that relied on separate scopes. `wait` and `response_variable` values propagate to
enclosing scopes, including response variables from `parallel` branches.

For renamed purpose-specific trigger and condition keys, reselect the affected
option in the editor and save, or replace the old YAML key. Automations and scripts
using old keys require this update to run. The complete mapping is in the automation
reference; examples include `battery.low` → `battery.became_low` and
`vacuum.docked` → `vacuum.returned_to_dock`.

In Labs purpose-specific trigger YAML, replace `any` with `each` and `last` with
`all`, or reselect the behavior in the editor. The default is `each`.
Replace removed Labs `entered_home` and `left_home` triggers with ordinary state
triggers to or from `home`; replace `is_home` and `is_not_home` with state conditions
that test for `home` or negate that test.

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`.

### MQTT and notification migrations

For `mqtt.publish`, replace `topic_template` and `payload_template` with `topic`
and `payload`, which accept templates. Omitting `payload` sends an empty payload.
Replace MQTT `object_id` with `default_entity_id`, including the entity domain.
Discovery ignores legacy `object_id` values and continues processing the payload.

Supply `unique_id` on an MQTT entity to use its `device` configuration. Without it,
that configuration is ignored, including `via_device` entries that previously
created a registry device.

Remove `platform: telegram` from YAML `notify` configuration and add each chat ID
as a Telegram Bot subentry. Use `notify.send_message` with the notify entity for
text, or `telegram_bot` actions for photos, documents, and keyboards.

### Device ownership and action targets

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.
Label targets also include configuration and diagnostic entities assigned that label.

Network-scanning trackers always get a registry device; new trackers start disabled.
Enable the trackers you want to use. Renamed trackers display the device name as a prefix.
Provide an explicit entity target for `xiaomi_miio` light, switch, and fan actions;
calls without a target fail validation.

### Installation, clients, and access

Official support for Core and Supervised installations and `i386`, `armhf`, and
`armv7` systems ends with 2025.12. Follow the repair's migration guidance to a
supported Home Assistant OS or Container installation.
Container images use `zstd`, supported by Docker 23.0.0 and containerd 1.5.0 or later.
Check `zstd` support before updating on older runtimes.

Use Chrome 67, Safari 15.4, or Firefox 98 or later. Fire tablets with WebView 59
need an OS update or a different client, including kiosk apps sharing that WebView.
Run standalone Core in a virtual environment; after upgrading, the old `deps`
folder can be removed from the configuration directory.

User-invoked update installation, skipping, and clearing a skip require an
administrator, including through scripts. An automation can call them without
a user context. The `zwave_js` actions `set_user`, `delete_user`, `delete_all_users`,
`set_credential`, `delete_credential`, and `delete_all_credentials` require an administrator.

For a public IP, global IPv6, or Tailscale address, 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 forwarded scheme and host, including the port,
and trusted-proxy settings.

## Automation and template quick reference

Purpose-specific triggers and conditions are available in the editor and YAML
without enabling the Labs preview. Integrations can supply their own options.
Use **Exclude target** to omit entities, devices, areas, floors, or labels from a
trigger, condition, or action. YAML `target.exclude` accepts the same keys as
`target`, and exclusions resolve each time the step runs.

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

A template binary sensor returning `None` produces `unknown`; return `False`
explicitly for branches that should produce `off`. Template fans, covers, and device
trackers restore their previous state after restart. Template the entire `attributes`
mapping, and use per-entity `conditions` on trigger-based entities to gate their updates.
Trigger-based template entities can use variables defined on their triggers.

Integration forms and blueprints can conditionally show inputs; blueprints can
apply a condition to an input section. Hidden inputs are optional and their values
are discarded. The Home Assistant update trigger runs at the first startup after
an update and supplies the previous and current versions.

Map vacuum segments to areas in the vacuum entity's settings, then use
`vacuum.clean_area` for supported Matter, Ecovacs, or Roborock vacuums.
Update mappings if a Repair reports changed segments.

## Backups, system settings, and troubleshooting

Download the backup emergency kit and keep the encryption key for restores.
Encryption can be disabled per location; Home Assistant Cloud always stores
encrypted backups. Every backup downloaded through the instance interface is
unencrypted, including downloads from Cloud storage. Set retention separately
for each destination, and use manual backups to keep chosen contents outside
automatic cleanup. `backup.create_automatic` uses the configured automatic settings.

Manage imported web server settings in the UI. Upgrades keep the configured port;
new Home Assistant OS installations use the usual address without `:8123`.
Failed settings or settings unconfirmed for five minutes revert to the previous
settings. Removing imported web server YAML is optional; Repairs provides guidance.

Use **Settings > Tools > Action history** to inspect causes, users, context IDs,
targets, YAML call data, and linked traces. **Perform again** reruns the recorded action.
Enable integration debug logging and select **Show logs** to stream or download
the integration's log lines, including its libraries' messages since startup.
Statistics deletion can target a time range and previews affected statistics.

## Dashboards, Assist, and community projects

The built-in Home dashboard is named **Overview**. Choose the system default from
**Settings > Dashboards**; a **User profile** override applies across that user's devices.
With Tile **Feature position** set to **Inline**, the first feature appears beside
the entity name and additional features appear below in two columns.
When adding home consumption, a solar panel, or an individual device in Energy,
select a power sensor to generate or reuse its derived energy sensor. Gas and
water flow-rate sensors can likewise generate total sensors.

Add an **AI Task** subentry to a supported AI integration and call
`ai_task.generate_data`. Declare structured output fields under `structure` and
read them from the response's `data` object. Camera or file attachments are optional.
LLM tool names use the integration domain followed by two underscores; update
explicit names in prompts, such as `homeassistant__GetLiveContext` and `intent__HassTurnOn`.

An administrator can attach an LLM API to a conversation agent or MCP server for
diagnostics and actions. System log access requires administrator privileges;
MCP can expose read-only tools. Only the user who started a conversation can continue it.
Two-way audio requires enabling the Labs option and HTTPS, with a supported Matter
or Reolink stream; Reolink requires RTSP.

Administrators can install community projects from **Settings > Marketplace** after
accepting the community-project notice. Catalog installs work without a GitHub account.
Integration updates require a restart. Existing HACS installs migrate automatically,
carrying over installed projects, custom repositories, and update entities.
Use **Add from link** for unlisted public repositories after GitHub device sign-in.

## Custom integration quick reference

- `UnitSystem` is frozen: create a new unit system instead of assigning fields.
- Config entry `unique_id` values migrate to strings; compare them as strings.
- Passing `hass` to service helpers is deprecated. `get_services` and `/api/services` no longer return service translations.
- Supply `domain` when constructing `BrowseMediaSource`.
- Custom integrations must opt in to serializing `Store` data in a worker thread.
- The update coordinator supports refresh retriggering and a retry delay for failed refreshes.
- The legacy Device Tracker API and entity IDs whose prefix differs from their actual domain are deprecated.
- App maintainers should migrate builds to Docker BuildKit; the project Git hook runner is `prek`.

Files in this skill

  • SKILL.md11.6 KB
  • coverage.json2.2 KB
  • references/assist-ai.md8.7 KB
  • references/automation-templates.md15.3 KB
  • references/backup-system.md9 KB
  • references/breaking-changes.md22.9 KB
  • references/dashboards-ui.md16.4 KB
  • references/integration-development.md4.3 KB
  • references/integrations-devices.md46.4 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.