Add HA Entity Category support to MQTT (#2678)

This commit is contained in:
Paul Monigatti
2021-11-08 22:03:30 +13:00
committed by GitHub
parent be9439f10d
commit a17a6d5346
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -512,6 +512,9 @@ constexpr const char *const MQTT_DEVICE_SW_VERSION = "sw_version";
constexpr const char *const MQTT_DEVICE_SUGGESTED_AREA = "suggested_area";
#endif
// Additional MQTT fields where no abbreviation is defined in HA source
constexpr const char *const MQTT_ENTITY_CATEGORY = "entity_category";
} // namespace mqtt
} // namespace esphome