ioBroker/ioBroker.lovelace

Notifications: uncaught exception when using sendTo()

Closed this issue · 1 comments

Hi,

I upgraded to the latest and greatest version and I'm now experiencing an issue when trying to add notications:

image

This exception is being thrown as soon as I issue the following command:
sendTo('lovelace.0', 'send', {message: 'Message text', title: 'Title'}); // full version

When I use the alternative instead, it works without that issue:
setState('lovelace.0.notifications.add', '{"message": "Message text", "title": "Title"}'); // full version

Please let me know if you need more information.

Best,
Marc

Ooops... I didn't even know there was a message handling for that. :-/
Of course, I have to adjust that, too. Thanks for reporting the issue.