diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 1ef3c96df..dbe86ce93 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -2084,6 +2084,14 @@ void doHomeAssistantDiscovery(const char* topic, http_request_t* request) { } } #endif + if (1) { + dev_info = hass_init_sensor_device_info(HASS_RSSI, 0, -1, -1, 1); + MQTT_QueuePublish(topic, dev_info->channel, hass_build_discovery_json(dev_info), OBK_PUBLISH_FLAG_RETAIN); + hass_free_device_info(dev_info); + + discoveryQueued = true; + + } if (discoveryQueued) { MQTT_InvokeCommandAtEnd(PublishChannels); }