Skip to content

Commit

Permalink
Revert "fix: Fix Ubisys C4, D1, J1, R0, S2 and S1-R latest OTA not av…
Browse files Browse the repository at this point in the history
…ailable @WhistleMaster  Koenkk/zigbee-OTA#317"

This reverts commit 7e5aef0.
  • Loading branch information
Koenkk committed Jun 25, 2023
1 parent 143bc6f commit 3a30a5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/devices/ubisys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ const definitions: Definition[] = [
await ubisysOnEventReadCurrentSummDelivered(type, data, device);
}
},
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
{
zigbeeModel: ['S2 (5502)', 'S2-R (5602)'],
Expand Down Expand Up @@ -696,7 +696,7 @@ const definitions: Definition[] = [
await ubisysOnEventReadCurrentSummDelivered(type, data, device);
}
},
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
{
zigbeeModel: ['D1 (5503)', 'D1-R (5603)'],
Expand Down Expand Up @@ -793,7 +793,7 @@ const definitions: Definition[] = [
await ubisysOnEventReadCurrentSummDelivered(type, data, device);
}
},
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
{
zigbeeModel: ['J1 (5502)', 'J1-R (5602)'],
Expand Down Expand Up @@ -837,7 +837,7 @@ const definitions: Definition[] = [
await ubisysOnEventReadCurrentSummDelivered(type, data, device);
}
},
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
{
zigbeeModel: ['C4 (5504)'],
Expand Down Expand Up @@ -870,7 +870,7 @@ const definitions: Definition[] = [
endpoint: (device) => {
return {'s1': 1, 's2': 2, 's3': 3, 's4': 4, 's5': 5, 's6': 6};
},
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
{
zigbeeModel: ['H1'],
Expand Down Expand Up @@ -944,7 +944,7 @@ const definitions: Definition[] = [
fromZigbee: [fz.linkquality_from_basic],
toZigbee: [],
exposes: [],
ota: ota.zigbeeOTA,
ota: ota.ubisys,
},
];

Expand Down

0 comments on commit 3a30a5f

Please sign in to comment.