Home Assistant Lit rendering extensions for HA components and context-aware picker callback shape. Use with lit-rendering only when editing or reviewing Lit render logic inside a Home Assistant frontend (home-assistant/frontend) checkout or a Home Assistant custom card or dashboard repository.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Home Assistant Lit Rendering?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/timmo001-home-assistant-lit-rendering)
---
name: home-assistant-lit-rendering
license: Apache-2.0
compatibility: Designed for Home Assistant frontend Lit components and context-aware pickers; used with the lit-rendering skill.
description: Home Assistant Lit rendering extensions for HA components and context-aware picker callback shape. Use with lit-rendering only when editing or reviewing Lit render logic inside a Home Assistant frontend (home-assistant/frontend) checkout or a Home Assistant custom card or dashboard repository.
---
# Home Assistant Lit Rendering
Use this skill together with `lit-rendering`. In custom cards and dashboards, the reference paths below are under `vendor/home-assistant-frontend/` when that submodule is present.
- Keep Home Assistant-specific rendering aligned with existing `ha-*` component patterns.
- When adding editor tabs or controls, gate them by the same HA mode/capability checks used by the existing action path; do not expose UI for YAML, generated, read-only, or unsupported modes just because optional callbacks are present.
- For `ha-generic-picker`, match repository callback shape:
- `.getItems=${this._getItems}` when callback reads existing component state.
- `.getItems=${this._getItems(optionsOrSections)}` when callback closes over render-local data.
- Keep `.sections` and `.getItems` aligned to the same current-render source.
- Prefer existing Home Assistant references before introducing a new local rendering shape:
- `src/components/ha-selector/ha-selector-select.ts`
- `src/components/ha-target-picker.ts`
- `src/components/ha-navigation-picker.ts`