[BT] Fixes for DT24 Triggering restart during discovery (#1614)

This commit is contained in:
Northern Man authored and GitHub committed 2023-04-24 07:47:02 -05:00
1 parent 8d5c2c4d58
commit 5927259db6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ void DT24Discovery(const char* mac, const char* sensorModel_id) {
{"sensor", "watt-hour", mac, "power", jsonEnergy, "", "", "kWh", stateClassMeasurement},
{"sensor", "price", mac, "", jsonMsg, "", "", "", stateClassNone},
{"sensor", "temp", mac, "temperature", jsonTempc, "", "", "°C", stateClassMeasurement},
{"binary_sensor", "inUse", mac, "power", jsonInuse, "", "", ""}
{"binary_sensor", "inUse", mac, "power", jsonInuse, "", "", "", stateClassNone}
//component type,name,availability topic,device class,value template,payload on, payload off, unit of measurement
};