Skip to content

Commit 320c9fd

Browse files
jbouwhc0ffeeca7
andauthored
Clarify the mqtt entity_category for sensors must be diagnostic (home-assistant#29651)
* Claryfy the mqtt entity_category for sensors * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
1 parent 229d322 commit 320c9fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/_integrations/binary_sensor.mqtt.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ encoding:
129129
type: string
130130
default: "utf-8"
131131
entity_category:
132-
description: The [category](https://developers.home-assistant.io/docs/core/entity/#generic-properties) of the entity.
132+
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.
133133
required: false
134134
type: string
135135
default: None

source/_integrations/sensor.mqtt.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ encoding:
122122
type: string
123123
default: "utf-8"
124124
entity_category:
125-
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
125+
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.
126126
required: false
127127
type: string
128128
default: None

0 commit comments

Comments
 (0)