#Where to find acceptable values for entities

9 messages · Page 1 of 1 (latest)

livid lichen
#

This is for a fan with low, medium and high. So I can guess at values of 1,2 & 3.
Is there anywhere I can look to find out for sure?

Either in HA or on the integration page?

livid lichen
#

Node Red output when I change to fan speed from HA.

#

Found more info in states:

#

Sending a number does not work..

pseudo charm
#

To set a number entity, you have to provide the number under the key value:

#

Which is why the error message says that value is required

#

Regarding how to determine the supported values that can be sent: it is up to the integration that you used to bring the device into HA. Whether it is documented or not is also up to that integration. But in this case it is pretty easy to determine based on the attributes. You could also change the fan speed by physically interacting with the device, and see how the attributes change.

livid lichen
#

@pseudo charm thank you for the explanation, makes sense.

I’m still not sure how the message would look in a key:value format, I’ve only ever used that for formatting data for influxdb.

Would it be for example:
data[‘1’]