mirror of https://github.com/esphome/esphome.git
Also add to MQTT
This commit is contained in:
parent
889349efe5
commit
2743000d81
|
@ -86,6 +86,9 @@ bool MQTTComponent::send_discovery_() {
|
|||
case ENTITY_CATEGORY_DIAGNOSTIC:
|
||||
root[MQTT_ENTITY_CATEGORY] = "diagnostic";
|
||||
break;
|
||||
case ENTITY_CATEGORY_SYSTEM:
|
||||
root[MQTT_ENTITY_CATEGORY] = "system";
|
||||
break;
|
||||
}
|
||||
|
||||
if (config.state_topic)
|
||||
|
|
Loading…
Reference in New Issue