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:
@ -7,6 +7,13 @@ This is a Home Assistant Blueprints repository containing reusable automation te
|
||||
|
||||
## 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
|
||||
- **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
|
||||
@ -110,3 +117,4 @@ Use namespace objects for accumulating values:
|
||||
- **Entity unavailable**: Add availability checks in conditions
|
||||
- **Z-Wave events not firing**: Verify device supports Central Scene command class
|
||||
- **HVAC monitoring false positives**: Adjust temperature thresholds and time windows
|
||||
- always push after commit
|
Reference in New Issue
Block a user