Skip to content

Commit 306c219

Browse files
committed
* Get device status response for Relay Switch 1PM
* Change the data type of the `voltage` and `power` fields from integer to float.
1 parent e464c64 commit 306c219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,9 +2140,9 @@ The `body` object contains the following properties,
21402140
| deviceId | String | device ID |
21412141
| deviceType | String | device type. *Relay Switch 1PM* |
21422142
| switchStatus | Integer | the current switch state. `0`, off; `1`, on |
2143-
| voltage | Integer | the current voltage, measured in Volt |
2143+
| voltage | Float | the current voltage, measured in Volt |
21442144
| version | String | the current BLE and Wi-Fi firmware version, e.g. V3.1-6.3 |
2145-
| power | Integer | the current power, measured in Watts |
2145+
| power | Float | the current power, measured in Watts |
21462146
| usedElectricity | Integer | daily power consumption, measured in watt-minutes |
21472147
| electricCurrent | Integer | the electrical current measured in mA |
21482148

0 commit comments

Comments
 (0)