mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
Don't discover moodlight gpios
This commit is contained in:
parent
38df70b18e
commit
93be1565be
@ -59,7 +59,7 @@ TouchConfig touchConfig();
|
|||||||
void gpio_log_serial_dimmer(const char* command)
|
void gpio_log_serial_dimmer(const char* command)
|
||||||
{
|
{
|
||||||
char buffer[32];
|
char buffer[32];
|
||||||
snprintf_P(buffer, sizeof(buffer), PSTR("Dimmer: %02x %02x %02x %02x"), command[0], command[1], command[2],
|
snprintf_P(buffer, sizeof(buffer), PSTR("Dimmer => %02x %02x %02x %02x"), command[0], command[1], command[2],
|
||||||
command[3]);
|
command[3]);
|
||||||
LOG_VERBOSE(TAG_GPIO, buffer);
|
LOG_VERBOSE(TAG_GPIO, buffer);
|
||||||
}
|
}
|
||||||
@ -670,13 +670,13 @@ void gpio_discovery(JsonArray& relay, JsonArray& led)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case HASP_GPIO_LED:
|
case HASP_GPIO_LED:
|
||||||
case HASP_GPIO_LED_R:
|
// case HASP_GPIO_LED_R:
|
||||||
case HASP_GPIO_LED_G:
|
// case HASP_GPIO_LED_G:
|
||||||
case HASP_GPIO_LED_B:
|
// case HASP_GPIO_LED_B:
|
||||||
case HASP_GPIO_LED_INVERTED:
|
case HASP_GPIO_LED_INVERTED:
|
||||||
case HASP_GPIO_LED_R_INVERTED:
|
// case HASP_GPIO_LED_R_INVERTED:
|
||||||
case HASP_GPIO_LED_G_INVERTED:
|
// case HASP_GPIO_LED_G_INVERTED:
|
||||||
case HASP_GPIO_LED_B_INVERTED:
|
// case HASP_GPIO_LED_B_INVERTED:
|
||||||
case HASP_GPIO_SERIAL_DIMMER:
|
case HASP_GPIO_SERIAL_DIMMER:
|
||||||
led.add(gpioConfig[i].pin);
|
led.add(gpioConfig[i].pin);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user