publishDriver self test

This commit is contained in:
Tester23 2025-09-27 18:19:54 +02:00
parent 9748043ce8
commit b8fc1f1c93

View File

@ -541,6 +541,10 @@ void Test_MQTT_Misc() {
SELFTEST_ASSERT_HAD_MQTT_PUBLISH_FLOAT("miscDevice/driver/DDP", 0, false);
SIM_ClearMQTTHistory();
CMD_ExecuteCommand("publishDriver xyz123", 0);
SELFTEST_ASSERT_HAD_MQTT_PUBLISH_FLOAT("miscDevice/driver/xyz123", 0, false);
SIM_ClearMQTTHistory();
//SIM_SendFakeMQTTAndRunSimFrame_CMND("setChannel", "3 100");
//CMD_ExecuteCommand("addEventHandler OnChannelChange 7 publishFloat thirdTest $CH7*0.01+$CH3", 0);
//// set channel 7 to 31.4 and see what we get