mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-10 12:45:44 +00:00
ChType_Voltage_div100 fix
This commit is contained in:
@ -1884,7 +1884,7 @@ void doHomeAssistantDiscovery(const char* topic, http_request_t* request) {
|
||||
break;
|
||||
case ChType_Voltage_div100:
|
||||
{
|
||||
dev_info = hass_init_sensor_device_info(VOLTAGE_SENSOR, i, 3, 1);
|
||||
dev_info = hass_init_sensor_device_info(VOLTAGE_SENSOR, i, 2, 2);
|
||||
MQTT_QueuePublish(topic, dev_info->channel, hass_build_discovery_json(dev_info), OBK_PUBLISH_FLAG_RETAIN);
|
||||
hass_free_device_info(dev_info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user