Remove Scene
ha_config_remove_sceneDelete a Home Assistant scene created via the UI. YAML-defined scenes require direct configuration file editing.
Instructions
Delete a Home Assistant scene.
EXAMPLES:
Delete scene: ha_config_remove_scene("old_scene")
Delete scene: ha_config_remove_scene("temporary_scene")
IMPORTANT LIMITATION: This tool can only delete scenes created via the Home Assistant UI. Scenes defined in YAML configuration files (scenes.yaml or configuration.yaml) cannot be deleted through the API and will return a 405 Method Not Allowed error.
To remove YAML-defined scenes, you must edit the configuration file directly.
WARNING: Deleting a scene that is referenced by automations or scripts
(via scene.turn_on) may cause those to fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for scene to be fully removed before returning. Default: True. | |
| scene_id | Yes | Scene identifier to delete (e.g., 'old_scene') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||