Skip to content

Commit 95c6cc4

Browse files
committed
Fix CI schema
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
1 parent 0e2efad commit 95c6cc4

File tree

1 file changed

+31
-32
lines changed

1 file changed

+31
-32
lines changed

config_schema.json

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"capacity": {
1818
"description": "Battery capacity in kWh",
19-
"exclusiveMinimum": 0,
19+
"exclusiveMinimum": 0.0,
2020
"title": "Capacity",
2121
"type": "number"
2222
},
@@ -146,8 +146,8 @@
146146
"dc_to_bat efficiency": {
147147
"anyOf": [
148148
{
149-
"maximum": 1,
150-
"minimum": 0,
149+
"maximum": 1.0,
150+
"minimum": 0.0,
151151
"type": "number"
152152
},
153153
{
@@ -174,8 +174,8 @@
174174
"bat_to_dc efficiency": {
175175
"anyOf": [
176176
{
177-
"maximum": 1,
178-
"minimum": 0,
177+
"maximum": 1.0,
178+
"minimum": 0.0,
179179
"type": "number"
180180
},
181181
{
@@ -375,14 +375,14 @@
375375
"properties": {
376376
"power": {
377377
"description": "Power level in Watts",
378-
"minimum": 0,
378+
"minimum": 0.0,
379379
"title": "Power",
380380
"type": "number"
381381
},
382382
"efficiency": {
383383
"description": "Efficiency at this power level (0-1)",
384-
"maximum": 1,
385-
"minimum": 0,
384+
"maximum": 1.0,
385+
"minimum": 0.0,
386386
"title": "Efficiency",
387387
"type": "number"
388388
}
@@ -453,19 +453,19 @@
453453
},
454454
"cop": {
455455
"description": "Coefficient of Performance",
456-
"exclusiveMinimum": 0,
456+
"exclusiveMinimum": 0.0,
457457
"title": "Cop",
458458
"type": "number"
459459
},
460460
"cooling rate": {
461461
"description": "Cooling rate in degrees per hour",
462-
"minimum": 0,
462+
"minimum": 0.0,
463463
"title": "Cooling Rate",
464464
"type": "number"
465465
},
466466
"volume": {
467467
"description": "Water volume in liters",
468-
"exclusiveMinimum": 0,
468+
"exclusiveMinimum": 0.0,
469469
"title": "Volume",
470470
"type": "number"
471471
},
@@ -476,7 +476,7 @@
476476
},
477477
"elec. power": {
478478
"description": "Electrical power in watts",
479-
"exclusiveMinimum": 0,
479+
"exclusiveMinimum": 0.0,
480480
"title": "Elec. Power",
481481
"type": "number"
482482
},
@@ -672,8 +672,8 @@
672672
},
673673
"efficiency": {
674674
"description": "Charging efficiency at this amperage (0-1)",
675-
"maximum": 1,
676-
"minimum": 0,
675+
"maximum": 1.0,
676+
"minimum": 0.0,
677677
"title": "Efficiency",
678678
"type": "number"
679679
}
@@ -696,7 +696,7 @@
696696
},
697697
"capacity": {
698698
"description": "Battery capacity in kWh",
699-
"exclusiveMinimum": 0,
699+
"exclusiveMinimum": 0.0,
700700
"title": "Capacity",
701701
"type": "number"
702702
},
@@ -944,7 +944,7 @@
944944
"max_power": {
945945
"default": 17,
946946
"description": "Maximum grid power in kW",
947-
"exclusiveMinimum": 0,
947+
"exclusiveMinimum": 0.0,
948948
"title": "Max Power",
949949
"type": "number"
950950
}
@@ -1048,7 +1048,7 @@
10481048
},
10491049
"degree days factor": {
10501050
"description": "Degree days factor for heat demand calculation",
1051-
"exclusiveMinimum": 0,
1051+
"exclusiveMinimum": 0.0,
10521052
"title": "Degree Days Factor",
10531053
"type": "number"
10541054
},
@@ -1201,13 +1201,13 @@
12011201
"properties": {
12021202
"max_power": {
12031203
"description": "Maximum power in watts for this stage",
1204-
"exclusiveMinimum": 0,
1204+
"exclusiveMinimum": 0.0,
12051205
"title": "Max Power",
12061206
"type": "number"
12071207
},
12081208
"cop": {
12091209
"description": "Coefficient of Performance at this power level",
1210-
"exclusiveMinimum": 0,
1210+
"exclusiveMinimum": 0.0,
12111211
"title": "Cop",
12121212
"type": "number"
12131213
}
@@ -1677,7 +1677,6 @@
16771677
"sensors": {
16781678
"anyOf": [
16791679
{
1680-
"additionalProperties": true,
16811680
"type": "object"
16821681
},
16831682
{
@@ -1739,8 +1738,8 @@
17391738
"tilt": {
17401739
"anyOf": [
17411740
{
1742-
"maximum": 90,
1743-
"minimum": 0,
1741+
"maximum": 90.0,
1742+
"minimum": 0.0,
17441743
"type": "number"
17451744
},
17461745
{
@@ -1754,8 +1753,8 @@
17541753
"orientation": {
17551754
"anyOf": [
17561755
{
1757-
"maximum": 180,
1758-
"minimum": -180,
1756+
"maximum": 180.0,
1757+
"minimum": -180.0,
17591758
"type": "number"
17601759
},
17611760
{
@@ -1769,7 +1768,7 @@
17691768
"capacity": {
17701769
"anyOf": [
17711770
{
1772-
"exclusiveMinimum": 0,
1771+
"exclusiveMinimum": 0.0,
17731772
"type": "number"
17741773
},
17751774
{
@@ -1783,7 +1782,7 @@
17831782
"yield": {
17841783
"anyOf": [
17851784
{
1786-
"exclusiveMinimum": 0,
1785+
"exclusiveMinimum": 0.0,
17871786
"type": "number"
17881787
},
17891788
{
@@ -1823,27 +1822,27 @@
18231822
"properties": {
18241823
"tilt": {
18251824
"description": "Panel tilt angle in degrees (0=horizontal, 90=vertical)",
1826-
"maximum": 90,
1827-
"minimum": 0,
1825+
"maximum": 90.0,
1826+
"minimum": 0.0,
18281827
"title": "Tilt",
18291828
"type": "number"
18301829
},
18311830
"orientation": {
18321831
"description": "Panel orientation in degrees (0=south, 90=west, -90=east)",
1833-
"maximum": 180,
1834-
"minimum": -180,
1832+
"maximum": 180.0,
1833+
"minimum": -180.0,
18351834
"title": "Orientation",
18361835
"type": "number"
18371836
},
18381837
"capacity": {
18391838
"description": "Installed capacity in kWp",
1840-
"exclusiveMinimum": 0,
1839+
"exclusiveMinimum": 0.0,
18411840
"title": "Capacity",
18421841
"type": "number"
18431842
},
18441843
"yield": {
18451844
"description": "Yield factor for production calculation",
1846-
"exclusiveMinimum": 0,
1845+
"exclusiveMinimum": 0.0,
18471846
"title": "Yield",
18481847
"type": "number"
18491848
}

0 commit comments

Comments
 (0)