bashio-scripting

Community

Scripting with bashio for HA add-ons.

AuthorJSchmid6
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Write or modify bashio-based shell scripts for the Home Assistant add-on. Use when editing run.sh, adding new features to the entrypoint script, or debugging the add-on's runtime behavior.

Core Features & Use Cases

  • Read configuration values with bashio::config to drive add-on behavior.
  • Log runtime events with bashio::log.* to ensure structured, safe output.
  • Access the Home Assistant Supervisor API and info helpers via bashio functions to interact with the environment.
  • Implement a robust entrypoint workflow with a watchdog loop pattern and basic startup/shutdown handling.
  • Use the script structure pattern to guide creation of reliable run.sh files.

Quick Start

Create a minimal run.sh that reads configuration via bashio and starts a watchdog loop.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bashio-scripting
Download link: https://github.com/JSchmid6/ha-wireguard-client-addon/archive/main.zip#bashio-scripting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.