You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line is missing from the if-statement: normalized_message.sensor_open = push_data.e !== undefined ? push_data.e === "1" ? true : false : undefined;
The field e is also missing from the data type (PlatformPushMode) the push data is cast to.
The fix seems trivial, but I wonder why this explicit if-statement was introduced for the T8030.
Can the push handling not just be handled by the already existing code, @bropat ?
To reproduce
View logs
Screenshots & Logfiles
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Client version
2.4.2
Node version
v16.19.1
Operating System type
Linux
Operating system version
Raspberry OS
Describe the bug
An entry sensor T8900 never emits an open/close event when it is connected to a Homebase 3.
This is seen here: https://github.com/bropat/eufy-security-client/blob/master/src/push/service.ts#L346
This line is missing from the if-statement:
normalized_message.sensor_open = push_data.e !== undefined ? push_data.e === "1" ? true : false : undefined;
The field
e
is also missing from the data type (PlatformPushMode
) the push data is cast to.The fix seems trivial, but I wonder why this explicit if-statement was introduced for the T8030.
Can the push handling not just be handled by the already existing code, @bropat ?
To reproduce
View logs
Screenshots & Logfiles
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: