# Warnings after update

**URL:** <https://discourse.nodered.org/t/warnings-after-update/81320>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [14 September 2023 16:43 UTC](https://discourse.nodered.org/t/warnings-after-update/81320 "2023-09-14T16:43:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![fixx-er](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fixx-er/32/82860_2.png) [@fixx-er](https://discourse.nodered.org/u/fixx-er)\
**Post date:** [14 September 2023 16:43 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/1 "2023-09-14T16:43:03Z")

</div>

I am seeing the following warnings in the debug after updating to 14.5.0.  
What should I do?

9/14/2023, 8:24:46 AMnode: sum min  
status : msg.payload : number  
1  
9/14/2023, 8:24:47 AM  
msg : string[270]  
"Deprecated API warning: Calls to RED.util.evaluateJSONataExpression must include a callback. This will not be optional in Node-RED 4.0. Please identify the node from the following stack and check for an update on npm. If none is available, please notify the node author."  
9/14/2023, 8:24:47 AM  
msg : string[754]  
"Error: ↵ at Object.evaluateJSONataExpression (/opt/node\_modules/@node-red/util/lib/util.js:775:18)↵ at JSONataService.evaluate (/opt/node\_modules/node-red-contrib-home-assistant-websocket/dist/common/services/JSONataService.js:58:39)↵ at ComparatorService.getComparatorResult (/opt/node\_modules/node-red-contrib-home-assistant-websocket/dist/common/services/ComparatorService.js:108:94)↵ at PollState.getComparatorResult (/opt/node\_modules/node-red-contrib-home-assistant-websocket/dist/nodes/BaseNode.js:128:39)↵ at PollState.onTimer (/opt/node\_modules/node-red-contrib-home-assistant-websocket/dist/nodes/poll-state/controller.js:82:30)↵ at listOnTimeout (node:internal/timers:569:17)↵ at processTimers (node:internal/timers:512:7)"  
9/14/2023, 8:25:25 AM

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 September 2023 16:56 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/2 "2023-09-14T16:56:24Z")

</div>

The firrst warning tells you what to do.  
contact the author of HA node and warn them that as of Node-red 4.0 the callback function will be required to be asynchronous  
more info here

> [@tada Node-RED 3.1.0-beta.2 released](https://discourse.nodered.org/t/node-red-3-1-0-beta-2-released/76192):
>
> tada We have now published the second beta release of Node-RED 3.1. Node-RED 3.x requires at least Node 14.x, but that reaches end-of-life in a couple months. These days you should really be using Node 16 at least or even 18. Having considered 3.1-beta.1 to be pretty complete, we've managed to squeeze in a few new useful features. The [Change Log](https://github.com/node-red/node-red/blob/940a246160f83c534cae26fc1d8c36197cf0033b/CHANGELOG.md) has the full list of changes. You should also checkout the [3.1.0-beta.1 release post](https://discourse.nodered.org/t/node-red-3-1-0-beta-1-released/74644) if you haven't already seen what was in there. And don't for…

Scroll down to `Deprecating synchronous access to JSONata`

---

<div class="post-metadata">

**Author:** ![fixx-er](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fixx-er/32/82860_2.png) [@fixx-er](https://discourse.nodered.org/u/fixx-er)\
**Post date:** [14 September 2023 17:00 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/3 "2023-09-14T17:00:17Z")

</div>

> [@fixx-er](#):
>
> identify the node from the following stack

I have no idea how to "identify the node from the following stack." Where is the stack? What stack? lol  
please let me know if there is documentation so I can read how to do this. Or it may be faster letting me know IDK. thanks.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 September 2023 17:02 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/4 "2023-09-14T17:02:09Z")

</div>

Tells you module in second warning  
`opt/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/poll-state/controller.js:82:30)`  
Find contrib node in flow library, there will be a link to the github page. There you can raise an issue.

---

<div class="post-metadata">

**Author:** ![fixx-er](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fixx-er/32/82860_2.png) [@fixx-er](https://discourse.nodered.org/u/fixx-er)\
**Post date:** [14 September 2023 17:03 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/5 "2023-09-14T17:03:37Z")

</div>

> [@E1cid](#):
>
> Deprecating synchronous access to JSONata

well I will try and find the node. Thanks

---

<div class="post-metadata">

**Author:** ![fixx-er](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fixx-er/32/82860_2.png) [@fixx-er](https://discourse.nodered.org/u/fixx-er)\
**Post date:** [14 September 2023 17:07 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/6 "2023-09-14T17:07:42Z")

</div>

ok found what I think poll-state

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [14 September 2023 17:08 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/7 "2023-09-14T17:08:47Z")

</div>

You don't have to do anything but let the author know, so they can fix it before Node-red 4 is released.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 September 2023 17:09 UTC](https://discourse.nodered.org/t/warnings-after-update/81320/8 "2023-09-28T17:09:18Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
