From 320c9fd79c25ca8f9e842938ff338930ac4dee28 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Thu, 2 Nov 2023 05:39:19 +0100 Subject: [PATCH] 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> --- source/_integrations/binary_sensor.mqtt.markdown | 2 +- source/_integrations/sensor.mqtt.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/binary_sensor.mqtt.markdown b/source/_integrations/binary_sensor.mqtt.markdown index ec345da14a3..eaf7bffa4ca 100644 --- a/source/_integrations/binary_sensor.mqtt.markdown +++ b/source/_integrations/binary_sensor.mqtt.markdown @@ -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 diff --git a/source/_integrations/sensor.mqtt.markdown b/source/_integrations/sensor.mqtt.markdown index cc317fe6c5c..bacf9269945 100644 --- a/source/_integrations/sensor.mqtt.markdown +++ b/source/_integrations/sensor.mqtt.markdown @@ -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