ioBroker.reolink
ioBroker.reolink copied to clipboard
Typo in 'setting.EmailNotification'
Describe the bug
After updating to version 1.2.2, a warning appears in the log:
reolink.0 2025-05-12 15:51:34.483 warn State "reolink.0.setting.EmailNotification" has no existing object, this might lead to an error in future versions
Solution: Replace 'setting' in line 121 with 'settings'
Versions:
- Adapter version: <1.2.2>
- JS-Controller version: <7.0.7>
- Node version: <22.14.0>
- Operating system: <Linux>
Additional context
Maybe a typo, one letter too few.
The typing error may not be the sole cause: error Set mail notification: Value not supported!
Thank you for the hint. Will be fixed in next release.
There still seems to be an issue with this setting:
info: reolink.0 (18742) State value to set for "reolink.0.settings.EmailNotification" has to be type "number" but received type "string"
info: reolink.0 (18742) Changed state: EmailNotification
error: reolink.0 (18742) Set mail notification: Value not supported!