I’m having trouble describing a pushButton in Arduino.
My code is
const char* deviceTypes2[] = {“PushButton”, nullptr};
ThingDevice kitchenMain(“kitchenMain”, “Kitchen Main Lights”, deviceTypes2);
ThingProperty on2(“on”, “Pushed”, BOOLEAN, “PushedProperty”);
The pushButton thing is showing up but there is no ability to push the button or toggel on/off.