mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-06 21:09:53 +02:00
Add HA Entity Category support to MQTT (#2678)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user