Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Instruction file imported from Jubast/homeassistant-noaa-solar-system (.github/instructions/noaa_solar.json.instructions.md). Copyright stays with the author.
JSON Instructions
Applies to: All JSON files
Formatting Standards
2 spaces for indentation
No trailing commas
No comments (JSON spec doesn't support them)
Use double quotes for all strings
End files with a single newline
Validation
Use Python's json module to validate syntax:
python3 -m json.tool file.json > /dev/null
Schema Validation
JSON schema files are available in /schemas/json/:
manifest_schema.json — Validates manifest.json
translation_schema.json — Validates translation files in translations/
icons_schema.json — Validates icons.json
hacs_schema.json — Validates hacs.json
Consult the relevant schema when editing JSON files to ensure correct structure.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/jubast-homeassistant-noaa-solar-system-noaa-solar-json-i-6f46be/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.