Update config.py

Bug fix.
This commit is contained in:
imonlinux
2025-12-09 07:57:02 -08:00
committed by GitHub
parent 957d3f2839
commit 70079d6a61
+10 -1
View File
@@ -39,7 +39,16 @@ class ESPHomeConfig:
@dataclass @dataclass
class LedConfig: class LedConfig:
"""Settings for the LED strip.""" """Settings for the LED strip.
Fields:
enabled -> master on/off for hardware LEDs. If False, LedController
still subscribes to events and publishes MQTT state, but
never touches hardware.
led_type -> "dotstar", "neopixel", or "xvf3800"
interface -> "spi", "gpio", "usb", or "i2c" (future)
"""
enabled: bool = True
led_type: str = "dotstar" led_type: str = "dotstar"
interface: str = "spi" interface: str = "spi"
clock_pin: int = 13 clock_pin: int = 13