diff --git a/src/service.ts b/src/service.ts index e4ce0f4..08743a0 100644 --- a/src/service.ts +++ b/src/service.ts @@ -709,7 +709,7 @@ export class Service { for (const attribute of Object.keys(lastState.public_data)) { try { const value = this.decodeValue(lastState.public_data[attribute]); - if (value) { + if (value !== null && value !== undefined) { processData[attribute] = value; } } catch (e) {