Shell commands Home Assistant can call for maintenance or integrations that need a CLI nudge.
### Quick navigation
- [Repo overview](../../README.md) | [Config index](../README.md) | [Shell scripts](../shell_scripts)

### Featured files to browse
| File | Why it matters |
| --- | --- |
| [flush_pm2_logs.yaml](flush_pm2_logs.yaml) | Quick cleanup for PM2 log files. |
| [restart_homebridge.yaml](restart_homebridge.yaml) | One-shot command to restart Homebridge. |
### Tips
- Keep commands idempotent and fast; HA will run them synchronously.
- Store long scripts in `shell_scripts/` and trigger them from here.
**All of my configuration files are tested against the most stable version of home-assistant.**
**Still have questions on my Config?**
**Message me on X :** [](https://www.x.com/ccostan)