ioBroker.reolink icon indicating copy to clipboard operation
ioBroker.reolink copied to clipboard

Typo in 'setting.EmailNotification'

Open raschy opened this issue 6 months ago • 3 comments

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.

raschy avatar May 12 '25 14:05 raschy

The typing error may not be the sole cause: error Set mail notification: Value not supported!

raschy avatar Jun 18 '25 21:06 raschy

Thank you for the hint. Will be fixed in next release.

oelison avatar Jun 28 '25 15:06 oelison

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!

agross avatar Jul 28 '25 09:07 agross