[RN8209] Fix in use switch value (#1572)

This commit is contained in:
Florian authored and GitHub committed 2023-03-23 18:25:13 -05:00
1 parent 11faf9a948
commit d1e9e8bf9b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -897,7 +897,7 @@ void pubMqttDiscovery() {
{"sensor", "volt", "RN8209", "voltage", jsonVolt, "", "", "V"},
{"sensor", "current", "RN8209", "current", jsonCurrent, "", "", "A"},
{"sensor", "power", "RN8209", "power", jsonPower, "", "", "W"},
{"binary_sensor", "inUse", "RN8209", "power", jsonInuseRN8209, "", "", ""}
{"binary_sensor", "inUse", "RN8209", "power", jsonInuseRN8209, "on", "off", ""}
//component type,name,availability topic,device class,value template,payload on, payload off, unit of measurement
};