Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Fix await issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Turner committed Nov 14, 2019
1 parent 8687fd9 commit 42108f8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"request": "^2.88.0",
"request-promise": "^4.2.4",
"smartheat-aws": "github:matthewturner/smartheat-aws#v1.0.0",
"smartheat-clients": "github:matthewturner/smartheat-clients#v1.2.2",
"smartheat-core": "github:matthewturner/smartheat-core#v1.0.3"
"smartheat-clients": "github:matthewturner/smartheat-clients#v1.2.3",
"smartheat-core": "github:matthewturner/smartheat-core#v1.0.4"
}
}
4 changes: 2 additions & 2 deletions aws/test.js → scripts/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const ThermostatService = require('smartheat-core/core/ThermostatService');
const DefaultsService = require('smartheat-core/core/DefaultsService');
const AwsHoldStrategy = require('../aws/HoldStrategy');
const AwsHoldStrategy = require('smartheat-aws/aws/HoldStrategy');
const DefaultHoldStrategy = require('smartheat-core/core/HoldStrategy');
const Logger = require('smartheat-core/core/Logger');
const AwsThermostatRepository = require('../aws/ThermostatRepository');
const AwsThermostatRepository = require('smartheat-aws/aws/ThermostatRepository');
const DefaultThermostatRepository = require('smartheat-core/core/ThermostatRepository');
const Factory = require('smartheat-clients/clients/Factory');
const SetTemperatureStrategy = require('smartheat-core/core/SetTemperatureStrategy');
Expand Down
6 changes: 5 additions & 1 deletion scripts/test.sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ export USERNAME=
export PASSWORD=
export TARGET_TEMPERATURE=
export THERMOSTAT_TYPE=
export HOST=
export PORT=
export MODEL=
export PIN=

# add these extra ones to test the command:
# "Turn on for 1 hour"
Expand All @@ -21,4 +25,4 @@ export DURATION=PT1H
export HOLD_STRATEGY=aws
export THERMOSTAT_REPOSITORY=aws

node ./src/aws/test.js
node ./scripts/test.js

0 comments on commit 42108f8

Please sign in to comment.