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:
10
CLAUDE.md
10
CLAUDE.md
@ -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
|
||||||
@ -109,4 +116,5 @@ Use namespace objects for accumulating values:
|
|||||||
- **Template errors**: Test in Developer Tools first
|
- **Template errors**: Test in Developer Tools first
|
||||||
- **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
|
Reference in New Issue
Block a user