Skip to content

Commit

Permalink
FIX: HB3 connected sensors not reporting
Browse files Browse the repository at this point in the history
FIX: HB3 connected sensors not reporting
  • Loading branch information
martijnpoppen committed Apr 10, 2023
1 parent 44ac94a commit 80d634b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/push/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class PushNotificationService extends TypedEmitter<PushNotificationServic
this.log.error(`Type ${DeviceType[normalized_message.type]} CusPush - push_time - Error:`, error);
}

if (normalized_message.station_sn.startsWith("T8030") || normalized_message.type === DeviceType.HB3) {
if (normalized_message.type === DeviceType.HB3) {
const push_data = message.payload.payload as PlatformPushMode;
normalized_message.name = push_data.name ? push_data.name : "";
normalized_message.channel = push_data.channel !== undefined ? push_data.channel : 0;
Expand Down

0 comments on commit 80d634b

Please sign in to comment.