ha-scripts
/ha-scripts
Opisuje skrypty YAML w Home Assistant, czyli wywoływalne, wielokrotnego użytku sekwencje akcji z opcjonalnymi parametrami.
- Autor
- l3digitalnet ↗
- Repozytorium
- claude-code-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 31.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.08.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Opisuje skrypty YAML w Home Assistant, czyli wywoływalne, wielokrotnego użytku sekwencje akcji z opcjonalnymi parametrami.
Oryginalny opis (EN)
Home Assistant YAML scripts — callable, reusable action sequences with optional parameters. Use when creating a script, defining a reusable sequence, or adding parameterized fields to a script.
Jak działa
- YAML Style Rules
- Script Template
- Calling a Script
- When to Use Scripts vs Automations
- Related Skills
Podgląd SKILL.md
---
name: ha-scripts
description: Home Assistant YAML scripts — callable, reusable action sequences with optional parameters. Use when creating a script, defining a reusable sequence, or adding parameterized fields to a script.
---
# Home Assistant YAML Scripts
Scripts are reusable, callable action sequences — unlike automations they have no trigger and must be called explicitly.
## YAML Style Rules
- **2-space indentation** (never tabs)
- **Lowercase booleans**: `true` / `false`
- **Entity IDs**: `domain.entity_name` (lowercase, underscores)
## Script Template
```yaml
script:
morning_routine:
alias: 'Morning Routine'
mode: single # single | restart | queued | parallel
fields:
brightness:
description: 'Light brightness percentage'
default: 100
selector:
number:
min: 0
max: 100
sequence:
- action: light.turn_on
target:
area_id: kitchen
data:
brightness_pct: '{{ brightness }}'
- delay:
seconds: 2
- action: media_player.play_media
target:
entity_id: media_player.kitchen_speaker
data:
media_content_id: 'media-source://...' # provider-specific media ID (e.g. spotify:playlist:..., media-source://...) — not a free-text name
media_content_type: 'playlist'
```
## Calling a Script
```yaml
# From an automation
- action: script.morning_routine
data:
brightness: 80
# From the UI: Developer Tools → Actions → script.morning_routine
```
## When to Use Scripts vs Automations
| Use Case | Choose |
| ------------------------------------- | ---------- |
| Triggered by an event or state change | Automation |
| Called by multiple automations | Script |
| Complex reusable logic | Script |
| One-off response to a trigger | Automation |
## Related Skills
- Automations → `ha-yaml-automations`
- Blueprints → `ha-blueprints`
Wersje
W bazie nie ma innych skilli o nazwie ha-scripts.
Migawka bazy z 13.11.2026 · wersja paczki ea307a6d5a6b (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100ha-blueprints
Opisuje blueprinty YAML w Home Assistant, czyli wielokrotnego użytku szablony automatyzacji z konfigurowalnymi wejściami. - 100ha-configuration
Zarządza konfiguracją YAML Home Assistant: edycja configuration.yaml, integracje, sekrety i rozwiązywanie problemów z konfiguracją. - 100homeassistant-config
Pisze, poprawia i modernizuje pliki YAML Home Assistant: automatyzacje, skrypty, sceny, encje szablonowe, blueprinty i dashboardy. - 100ha-yaml-automations
Opisuje automatyzacje YAML w Home Assistant: wyzwalacze, warunki i akcje, pisanie i naprawę automatyzacji oraz strukturę logiki. - 100ha-automations
Tworzy i zarządza automatyzacjami Home Assistant: wyzwalacze, warunki, akcje, skrypty, sceny i blueprinty. - 100ha-automations
Pisze, poprawia i sprawdza automatyzacje, skrypty i blueprinty Home Assistant w składni danej wersji: wyzwalacze, warunki, akcje i trace.