Use this skill when the user asks to "create a scene", "activate a scene", "save the current lights as a scene", "list scenes", "create a script", "run a script", "make a script that does X", "list scripts", "delete a script", "movie mode", "goodnight routine", "morning routine", or any task involving Home Assistant scenes or scripts.
npx claudepluginhub pzharyuk/ai-claude-plugins --plugin homeassistant-managerThis skill uses the workspace's default tool permissions.
Scenes capture a snapshot of entity states and restore them on activation.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Scenes capture a snapshot of entity states and restore them on activation.
ha_list_scenes — shows all scenes with last activated time.
ha_activate_scene with entity_id and optional transition (seconds for light transitions).
ha_create_scene with:
scene_id — lowercase, underscores (e.g. movie_time)name — friendly name (e.g. "Movie Time")entities — map of entity_id → desired stateEntity state formats:
{
"light.living_room": { "state": "on", "brightness": 80, "color_temp_kelvin": 2700 },
"light.kitchen": { "state": "off" },
"media_player.tv": { "state": "on" },
"switch.fan": { "state": "on" }
}
morning — bright lights, warm color temperaturemovie_time — dim lights, close blinds, turn on TVdinner — medium warm lightsbedtime — all off except hallway dimaway — all lights and devices offparty — colored lights, music onScripts are reusable sequences of actions, optionally accepting input variables.
ha_list_scripts — shows all scripts with last triggered time.
ha_run_script with entity_id (e.g. script.goodnight) and optional variables.
ha_create_script with:
script_id — lowercase, underscoresalias — friendly namesequence — array of action steps (same format as automation actions)fields — optional variable definitions for parameterized scriptsha_delete_script — always confirm before deleting.
{
"script_id": "goodnight",
"alias": "Goodnight Routine",
"sequence": [
{ "service": "light.turn_off", "target": { "entity_id": "all" } },
{ "service": "lock.lock", "target": { "entity_id": "lock.front_door" } },
{ "service": "media_player.turn_off", "target": { "entity_id": "all" } },
{ "service": "climate.set_temperature", "target": { "entity_id": "climate.thermostat" }, "data": { "temperature": 68 } },
{ "service": "notify.mobile_app_iphone", "data": { "message": "Goodnight! All locked up." } }
]
}
{
"script_id": "set_room_brightness",
"alias": "Set Room Brightness",
"fields": {
"room": { "description": "Light entity ID", "example": "light.living_room" },
"level": { "description": "Brightness 0-100", "example": 70 }
},
"sequence": [
{ "service": "light.turn_on", "target": { "entity_id": "{{ room }}" }, "data": { "brightness_pct": "{{ level }}" } }
]
}