Permit users to choose Celsius or Fahrenheit.

This commit is contained in:
Chris Nielsen
2023-05-12 19:06:32 +00:00
parent c71476d4e8
commit e3360349bb
3 changed files with 86 additions and 39 deletions

View File

@@ -2380,12 +2380,19 @@ You'll need to enable the sensors plugin to use this widget, using: `--enable-pl
<p align="center"><img width="400" src="https://i.ibb.co/xSs4Gqd/gl-cpu-temp.png" /></p>
#### Options
**Field** | **Type** | **Required** | **Description**
--- | --- | --- | ---
**`units`** | `string` | _Optional_ | Use `C` to display temperatures in Celsius or `F` to use Fahrenheit. Defaults to `C`.
#### Example
```yaml
- type: gl-cpu-temp
options:
hostname: http://192.168.130.2:61208
units: C
```
---