mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Changed the temp and range options (#11710)
changed the option description min_temp/max_temp/range_from/range_to to right one like in the source code.
This commit is contained in:
parent
f9e8f37381
commit
98630e384d
@ -258,29 +258,29 @@ sensor:
|
|||||||
The temperature sensor supports these additional configuration properties.
|
The temperature sensor supports these additional configuration properties.
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
temp_min:
|
min_temp:
|
||||||
description: The minimal temperature in °C your sensor supports.
|
description: The minimal temperature in °C your sensor supports.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 0
|
default: 0
|
||||||
temp_max:
|
max_temp:
|
||||||
description: The maximum temperature in °C your sensor supports.
|
description: The maximum temperature in °C your sensor supports.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 40
|
default: 40
|
||||||
range_min:
|
range_from:
|
||||||
description: The range value your sensor reports for `temp_min`
|
description: The range value your sensor reports for `min_temp`
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 255
|
default: 255
|
||||||
range_max:
|
range_to:
|
||||||
description: The range value your sensor reports for `temp_max`
|
description: The range value your sensor reports for `max_temp`
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 0
|
default: 0
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Note that the default configuration values of _range_min_ and _range_max_ are not typos, the range is backwards for most sensors.
|
Note that the default configuration values of _range_from_ and _range_to_ are not typos, the range is backwards for most sensors.
|
||||||
However, some EEPs have a different, inverted range, which goes from 0 to 250. This includes the following EEPs:
|
However, some EEPs have a different, inverted range, which goes from 0 to 250. This includes the following EEPs:
|
||||||
|
|
||||||
- **A5-04-01**
|
- **A5-04-01**
|
||||||
@ -296,8 +296,8 @@ sensor:
|
|||||||
platform: enocean
|
platform: enocean
|
||||||
id: [0x01,0x90,0x84,0x3C]
|
id: [0x01,0x90,0x84,0x3C]
|
||||||
device_class: temperature
|
device_class: temperature
|
||||||
range_min: 0
|
range_from: 0
|
||||||
range_max: 250
|
range_to: 250
|
||||||
```
|
```
|
||||||
|
|
||||||
## Switch
|
## Switch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user