Переглянути джерело

docs (README): clarify that dp_id is not meant literally.

The underscore has misled users into thinking that the Query Things
Data Model returned data is missing the id, when it is labelled there
as abilityId. Remove the underscore to make it less like an expected label.

Issue #3921
Jason Rumney 3 місяців тому
батько
коміт
5a1cfb9a9b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -86,7 +86,7 @@ Documentation on building a device configuration file is in [/custom_components/
 If your device is not listed, you can find the information required to add a configuration for it in the following locations:
 
 1. When attempting to add the device, if it is not supported, you will either get a message saying the device cannot be recognised at all, or you will be offered a list of devices that are partial matches. You can cancel the process at this point, and look in the Home Assistant log - there should be a message there containing the current data points (dps) returned by the device.
-2. If you have signed up for [iot.tuya.com](https://iot.tuya.com/), you should have access to the API Explorer under "Cloud". Under "Device Control" there is a function called "Query Things Data Model", which returns the dp_id in addition to range information that is needed for integer and enum data types.
+2. If you have signed up for [iot.tuya.com](https://iot.tuya.com/), you should have access to the API Explorer under "Cloud". Under "Device Control" there is a function called "Query Things Data Model", which returns the dp id in addition to range information that is needed for integer and enum data types.
 
 If you file an issue to request support for a new device, please include the following information: