Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
automatikas authored Dec 6, 2021
1 parent 1347016 commit ffdf2f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ change `minValue` and `maxValue` temperatures to Farenheit in the options part o

```
options = {
targetOnCenter: options.targetOnCenter || true, //Display target temperature in center of dial. Otherwise, display ambient temperature
diameter: options.diameter || 400,
minValue: options.minValue || 50, // Minimum value for target temperature Farenheit
maxValue: options.maxValue || 86, // Maximum value for target temperature Farenheit
Expand All @@ -108,6 +109,15 @@ function roundHalf(num) {
}
```

## What if I want to display ambient temperature in center of dial?

Search the code and find `targetOnCenter` and set it to `false`
```
options = {
targetOnCenter: false, //Display target temperature in center of dial. Otherwise, display ambient temperature
};
```

## Issues:

Use the GitHub issues log for raising issues or contributing suggestions and enhancements. [GITHUB](https://github.com/automatikas/Node-red-Nest-thermostat)

0 comments on commit ffdf2f9

Please sign in to comment.