File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 57
57
vm . showTTNConfiguration = true ;
58
58
}
59
59
60
+ if ( boxData . model === 'homeV2Ethernet' ) {
61
+ vm . showConfiguration = true ;
62
+ }
63
+
60
64
if ( boxData . sensorsArray . filter ( function ( s ) {
61
65
return s . sensorType === 'SMT50' ;
62
66
} ) . length !== 0 ) {
Original file line number Diff line number Diff line change @@ -1298,7 +1298,7 @@ <h1><small>{{ 'STEP2_SUB4' | translate }}</small></h1>
1298
1298
</ td >
1299
1299
< td >
1300
1300
< div class ="form-group ">
1301
- < select name ="cayenne_lpp_settings " class ="form-control "
1301
+ < select name ="cayenne_lpp_settings " class ="form-control "
1302
1302
ng-model ="register.ttn.cayenneLppDecoding[sensor.id].decoder "
1303
1303
ng-change ="register.cayenneLppDecodingChanged(sensor) ">
1304
1304
< option value ="temperature "> {{'TEMPERATURE' | translate}}</ option >
@@ -1466,8 +1466,10 @@ <h3>{{'SENSORS' | translate }} & IDs</h3>
1466
1466
</ div >
1467
1467
< h3 ng-if ="register.tag != 'edu' "> Arduino Code</ h3 >
1468
1468
< div class ="alert alert-success " role ="alert "
1469
- ng-if ="register.newSenseBox.model === 'homeV2WifiFeinstaub' || register.newSenseBox.model === 'homeV2Wifi' || register.newSenseBox.model === 'homeV2Lora' ">
1470
- < h5 ng-bind-html ="'COMPILE_SKETCH'|translate "> </ h5 >
1469
+ ng-if ="register.newSenseBox.model === 'homeV2WifiFeinstaub' || register.newSenseBox.model === 'homeV2Wifi' || register.newSenseBox.model === 'homeV2Lora' || register.newSenseBox.model === 'homeV2Ethernet' ">
1470
+ <!-- Check model to show correct compile hint -->
1471
+ < h5 ng-if ="register.newSenseBox.model === 'homeV2WifiFeinstaub' || register.newSenseBox.model === 'homeV2Wifi' || register.newSenseBox.model === 'homeV2Lora' " ng-bind-html ="'COMPILE_SKETCH'|translate "> </ h5 >
1472
+ < h5 ng-if ="register.newSenseBox.model === 'homeV2Ethernet' " ng-bind-html ="'COMPILE_ETHERNET_SKETCH'|translate "> </ h5 >
1471
1473
< div >
1472
1474
< div class ="form-group " ng-if ="register.newSenseBox.model === 'homeV2Wifi' || register.newSenseBox.model === 'homeV2WifiFeinstaub' || register.newSenseBox.model === 'homeV2Lora' ">
1473
1475
< div style ="text-align: left; ">
You can’t perform that action at this time.
0 commit comments