Add deployment instructions to CLAUDE.md

Document kubectl command to deploy blueprints to Home Assistant pod after push

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-09 18:01:41 -04:00
parent 314657586f
commit 5917520903

View File

@ -7,6 +7,13 @@ This is a Home Assistant Blueprints repository containing reusable automation te
## Common Development Tasks ## Common Development Tasks
### Deployment
After committing and pushing changes, deploy blueprints to Home Assistant:
```bash
HA_POD=$(kubectl -n ha get pods -l app=ha-app -o=jsonpath="{.items[0].metadata.name}")
kubectl -n ha exec "$HA_POD" -- bash -c "cd /config/blueprints/automation/rzen && git pull"
```
### Testing & Validation ### Testing & Validation
- **Blueprint Validation**: Use Home Assistant's built-in blueprint importer to validate YAML syntax - **Blueprint Validation**: Use Home Assistant's built-in blueprint importer to validate YAML syntax
- **Template Testing**: Test Jinja2 templates in Home Assistant Developer Tools → Template tab - **Template Testing**: Test Jinja2 templates in Home Assistant Developer Tools → Template tab
@ -110,3 +117,4 @@ Use namespace objects for accumulating values:
- **Entity unavailable**: Add availability checks in conditions - **Entity unavailable**: Add availability checks in conditions
- **Z-Wave events not firing**: Verify device supports Central Scene command class - **Z-Wave events not firing**: Verify device supports Central Scene command class
- **HVAC monitoring false positives**: Adjust temperature thresholds and time windows - **HVAC monitoring false positives**: Adjust temperature thresholds and time windows
- always push after commit