Skip to content

Commit

Permalink
Merge b71bafe into 38497c9
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jul 27, 2022
2 parents 38497c9 + b71bafe commit d1ae8f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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/powercalc/data/model_schema.json'

permissions:
issues: write
Expand Down
@@ -1,5 +1,5 @@
{
"measure_description": "Measured with utils/measure script",
"measure_description": "Measured with utils/measure script ",
"measure_device": "Shelly Plug E",
"measure_method": "script",
"measure_settings": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/powercalc/data/model_schema.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "model.json described a light model",
"description": "model.json described a light model ",
"type": "object",
"required": [
"name",
Expand All @@ -25,6 +25,7 @@
},
"supported_modes": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"enum": ["lut", "linear", "fixed"]
Expand Down

0 comments on commit d1ae8f2

Please sign in to comment.