mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Clearify the use of the mqtt sensor options
option (#35084)
This commit is contained in:
parent
12acdffff1
commit
2248dcb609
@ -166,7 +166,7 @@ object_id:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
options:
|
options:
|
||||||
description: List of allowed sensor state value. An empty list is not allowed. The sensor's `device_class` should be set to `enum`. Cannot be used together with `state_class` or `unit_of_measurement`.
|
description: List of allowed sensor state value. An empty list is not allowed. The sensor's `device_class` must be set to `enum`. The `options` option cannot be used together with `state_class` or `unit_of_measurement`.
|
||||||
required: false
|
required: false
|
||||||
type: list
|
type: list
|
||||||
payload_available:
|
payload_available:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user