mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-31 10:07:25 +01:00
Release v1.8.1 (#28)
* new method to get user region * added new test * version bump
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"email": "<your ewelink email>",
|
||||
"password": "<your ewelink password>",
|
||||
"region": "<your ewelink region>",
|
||||
"singleChannelDeviceId": "<your device id>",
|
||||
"deviceIdWithPower": "<your device id>",
|
||||
"deviceIdWithoutPower": "<your device id>",
|
||||
|
||||
@@ -50,6 +50,11 @@ const firmwareExpectations = {
|
||||
msg: expect.any(String),
|
||||
};
|
||||
|
||||
const regionExpectations = {
|
||||
email: expect.any(String),
|
||||
region: expect.any(String),
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
loginExpectations,
|
||||
allDevicesExpectations,
|
||||
@@ -57,4 +62,5 @@ module.exports = {
|
||||
rawPowerUsageExpectations,
|
||||
currentMonthPowerUsageExpectations,
|
||||
firmwareExpectations,
|
||||
regionExpectations,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user