mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 11:16:45 +00:00
parent
1b08419a21
commit
968a04c2e1
@ -1113,11 +1113,6 @@ void dispatch_send_discovery(const char*, const char*, uint8_t source)
|
||||
gpio_discovery(input, relay, led, dimmer);
|
||||
#endif
|
||||
|
||||
// Display resolution
|
||||
JsonArray disp = doc.createNestedArray(F("disp"));
|
||||
disp.add(haspTft.width());
|
||||
disp.add(haspTft.height());
|
||||
|
||||
size_t len = serializeJson(doc, data);
|
||||
|
||||
switch(mqtt_send_discovery(data, len)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user