mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
ModBus Sensor marked unknown if getting NaN (#38235)
This commit is contained in:
parent
8ddf4baee1
commit
d98263cd99
@ -1434,7 +1434,7 @@ sensors:
|
|||||||
required: false
|
required: false
|
||||||
type: float
|
type: float
|
||||||
nan_value:
|
nan_value:
|
||||||
description: If a Modbus sensor has a defined NaN value, this value can be set as a hex string starting with `0x` containing one or more bytes (for example, `0xFFFF` or `0x80000000`) or provided as an integer directly. If triggered, the sensor becomes `unavailable`. Please note that the hex to int conversion for `nan_value` does currently not obey home-assistants Modbus encoding using the `data_type`, `structure`, or `swap` arguments.
|
description: If a Modbus sensor has a defined NaN value, this value can be set as a hex string starting with `0x` containing one or more bytes (for example, `0xFFFF` or `0x80000000`) or provided as an integer directly. If triggered, the sensor becomes `unknown`. Please note that the hex to int conversion for `nan_value` does currently not obey home-assistants Modbus encoding using the `data_type`, `structure`, or `swap` arguments.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
zero_suppress:
|
zero_suppress:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user