بنقرة واحدة
openevse-development
Guide for developing, testing, and linting the OpenEVSE Home Assistant integration.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guide for developing, testing, and linting the OpenEVSE Home Assistant integration.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | openevse-development |
| description | Guide for developing, testing, and linting the OpenEVSE Home Assistant integration. |
This skill helps Claude Code develop, test, and format code for the OpenEVSE integration.
custom_components/openevse/: Core integration code.
manifest.json: Configuration, requirements, dependencies.update.py: Firmware update entities.sensor.py, binary_sensor.py, select.py, switch.py, number.py, light.py, button.py: Entity platforms.services.py, services.yaml: Custom service registration and definitions.tests/: Integration tests.Always run the test suite to verify changes:
tox -e py313
Run prek to execute ruff, ruff-format, mypy, codespell, and check file structure:
.tox/py313/bin/prek run --all-files --show-diff-on-failure
You should run this before proposing/committing changes to make sure all formatting and code quality checks pass.
Top-Level Imports (PLC0415)
Always place Python imports at the top-level of a module. Never use inlined imports inside functions or methods (which violates Ruff's import-outside-toplevel check).
Local Testing Against Library Changes
The integration depends on python-openevse-http. To test against local changes in python-openevse-http, temporarily edit requirements.txt to point to the local checkout:
-e /path/to/cloned/python-openevse-http
CRITICAL: You must revert this change back to a published version (e.g., python-openevse-http==1.0.0) before committing, staging, or pushing. Do not ship local paths in requirements.txt or manifest.json.
PR Titles and Templates
chore(deps): bump python-openevse-http to 1.0.0 or fix: resolve websocket connection error)..github/pull_request_template.md) for all Pull Request descriptions.