mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Clarify the mqtt entity_category for sensors must be diagnostic (#29651)
* Claryfy the mqtt entity_category for sensors * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
229d322f93
commit
320c9fd79c
@ -129,7 +129,7 @@ encoding:
|
||||
type: string
|
||||
default: "utf-8"
|
||||
entity_category:
|
||||
description: The [category](https://developers.home-assistant.io/docs/core/entity/#generic-properties) of the entity.
|
||||
description: The [category](https://developers.home-assistant.io/docs/core/entity/#generic-properties) of the entity. When set, the entity category must be `diagnostic` for sensors.
|
||||
required: false
|
||||
type: string
|
||||
default: None
|
||||
|
@ -122,7 +122,7 @@ encoding:
|
||||
type: string
|
||||
default: "utf-8"
|
||||
entity_category:
|
||||
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
|
||||
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity. When set, the entity category must be `diagnostic` for sensors.
|
||||
required: false
|
||||
type: string
|
||||
default: None
|
||||
|
Loading…
x
Reference in New Issue
Block a user