diff --git a/CLAUDE.md b/CLAUDE.md index 711c01b..bc33915 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 @@ -109,4 +116,5 @@ Use namespace objects for accumulating values: - **Template errors**: Test in Developer Tools first - **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 \ No newline at end of file +- **HVAC monitoring false positives**: Adjust temperature thresholds and time windows +- always push after commit \ No newline at end of file