# How do you know what JSON properties a service/entity supports?

**URL:** <https://discourse.nodered.org/t/how-do-you-know-what-json-properties-a-service-entity-supports/54411>\
**Category:** General\
**Created:** [28 November 2021 18:44 UTC](https://discourse.nodered.org/t/how-do-you-know-what-json-properties-a-service-entity-supports/54411 "2021-11-28T18:44:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![voidpointer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/voidpointer/32/51724_2.png) [@voidpointer](https://discourse.nodered.org/u/voidpointer)\
**Post date:** [28 November 2021 18:44 UTC](https://discourse.nodered.org/t/how-do-you-know-what-json-properties-a-service-entity-supports/54411/1 "2021-11-28T18:44:16Z")

</div>

Suppose I have a zwave smart plug and I want to control it from Node Red. How do you know what JSON properties it supports when I invoke the "call service node" on it? To me, this needs an API definition per-device so you know all the properties it can accept. This would make it much easier to learn how to change certain aspects of a device from NR.

---

<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:** [28 November 2021 19:03 UTC](https://discourse.nodered.org/t/how-do-you-know-what-json-properties-a-service-entity-supports/54411/2 "2021-11-28T19:03:50Z")

</div>

I am guess this is a HA issue. You may find a better answer on the Home Assistant forum.  
But I would look at the docs for HA

> **[Service Calls](https://www.home-assistant.io/docs/scripts/service-calls/)**
>
> Instructions on how to call services in Home Assistant.

---

<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:** [27 January 2022 19:04 UTC](https://discourse.nodered.org/t/how-do-you-know-what-json-properties-a-service-entity-supports/54411/3 "2022-01-27T19:04:11Z")

</div>

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