Skip to content

Commit

Permalink
Check for at least 1 support mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jul 27, 2022
1 parent 38497c9 commit 98e2540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/validate-model-json.yml
Expand Up @@ -4,6 +4,7 @@ on:
pull_request_target:
paths:
- '**/model.json'
- 'custom_components/data/model_schema.json'

permissions:
issues: write
Expand Down
1 change: 1 addition & 0 deletions custom_components/powercalc/data/model_schema.json
Expand Up @@ -25,6 +25,7 @@
},
"supported_modes": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"enum": ["lut", "linear", "fixed"]
Expand Down

0 comments on commit 98e2540

Please sign in to comment.