# I want to use the result of a current state note in call service node

**URL:** <https://discourse.nodered.org/t/i-want-to-use-the-result-of-a-current-state-note-in-call-service-node/57975>\
**Category:** General\
**Created:** [8 February 2022 08:16 UTC](https://discourse.nodered.org/t/i-want-to-use-the-result-of-a-current-state-note-in-call-service-node/57975 "2022-02-08T08:16:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kroonp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kroonp/32/68249_2.png) [@kroonp](https://discourse.nodered.org/u/kroonp)\
**Post date:** [8 February 2022 08:16 UTC](https://discourse.nodered.org/t/i-want-to-use-the-result-of-a-current-state-note-in-call-service-node/57975/1 "2022-02-08T08:16:33Z")

</div>

I am a newbee with a problem that I am unable to solve due to my lack of knowledge.  
Who can give me the solution for the following problem?

I want to use the result of a current state note in call service node.

node: current state

```auto
entity_ID: input_number.target_temperature
Output proportions:
msg.payload = entity state
msg.data = entity

```

in debug the is result is: 18  
This is correct.

```auto
Domain: climate
Service: set_temperature
Entity id: climate.livingroom
Data: {"temperature": {{payload}}}

```

I got this error: "Expected ":", got "}""

How can I solve this?

Thank you

---

<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:** [9 April 2022 08:16 UTC](https://discourse.nodered.org/t/i-want-to-use-the-result-of-a-current-state-note-in-call-service-node/57975/2 "2022-04-09T08:16:45Z")

</div>

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