homebridge-enphase-envoy 10.4.1-beta.1 → 10.4.1-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/config.schema.json +26 -21
  2. package/package.json +1 -1
@@ -922,7 +922,6 @@
922
922
  },
923
923
  "then": {
924
924
  "required": [
925
- "compareType",
926
925
  "compareMode",
927
926
  "powerLevel"
928
927
  ]
@@ -3744,10 +3743,31 @@
3744
3743
  },
3745
3744
  "required": [
3746
3745
  "name",
3747
- "displayType",
3748
- "envoyFirmware7xxTokenGenerationMode"
3746
+ "displayType"
3749
3747
  ],
3750
3748
  "allOf": [
3749
+ {
3750
+ "if": {
3751
+ "required": [
3752
+ "displayType"
3753
+ ],
3754
+ "properties": {
3755
+ "displayType": {
3756
+ "enum": [
3757
+ 1,
3758
+ 2,
3759
+ 3,
3760
+ 4
3761
+ ]
3762
+ }
3763
+ }
3764
+ },
3765
+ "then": {
3766
+ "required": [
3767
+ "envoyFirmware7xxTokenGenerationMode"
3768
+ ]
3769
+ }
3770
+ },
3751
3771
  {
3752
3772
  "if": {
3753
3773
  "required": [
@@ -3796,7 +3816,7 @@
3796
3816
  {
3797
3817
  "key": "devices",
3798
3818
  "type": "tabarray",
3799
- "title": "{{ value.name || 'system' }}",
3819
+ "title": "{{ value.name || 'System' }}",
3800
3820
  "items": [
3801
3821
  "devices[].name",
3802
3822
  "devices[].host",
@@ -3823,10 +3843,7 @@
3823
3843
  "type": "password"
3824
3844
  },
3825
3845
  "devices[].envoyTokenInstaller"
3826
- ],
3827
- "condition": {
3828
- "functionBody": "return model.devices[arrayIndices].displayType > 0;"
3829
- }
3846
+ ]
3830
3847
  },
3831
3848
  {
3832
3849
  "key": "devices[]",
@@ -4735,19 +4752,7 @@
4735
4752
  }
4736
4753
  ]
4737
4754
  }
4738
- ],
4739
- "condition": {
4740
- "functionBody": "return model.devices[arrayIndices].envoyFirmware7xxTokenGenerationMode > 0;"
4741
- }
4742
- },
4743
- {
4744
- "key": "devices[]",
4745
- "type": "tabarray",
4746
- "title": "{{ value.title }}",
4747
- "items": [],
4748
- "condition": {
4749
- "functionBody": "return model.devices[arrayIndices].envoyFirmware7xxTokenGenerationMode === 0;"
4750
- }
4755
+ ]
4751
4756
  }
4752
4757
  ]
4753
4758
  },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "displayName": "Enphase Envoy",
4
4
  "name": "homebridge-enphase-envoy",
5
- "version": "10.4.1-beta.1",
5
+ "version": "10.4.1-beta.3",
6
6
  "description": "Homebridge p7ugin for Photovoltaic Energy System manufactured by Enphase.",
7
7
  "license": "MIT",
8
8
  "author": "grzegorz914",