mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Cleanup dashboard JS (#491)
* Cleanup dashboard JS * Add vscode * Save start_mark/end_mark * Updates * Updates * Remove need for cv.nameable It's a bit hacky but removes so much bloat from integrations * Add enum helper * Document APIs, and Improvements * Fixes * Fixes * Update PULL_REQUEST_TEMPLATE.md * Updates * Updates * Updates
This commit is contained in:
@@ -38,7 +38,7 @@ def validate(value):
|
||||
return value
|
||||
|
||||
|
||||
CONFIG_SCHEMA = cv.nameable(fastled_base.BASE_SCHEMA.extend({
|
||||
CONFIG_SCHEMA = cv.All(fastled_base.BASE_SCHEMA.extend({
|
||||
cv.Required(CONF_CHIPSET): cv.one_of(*CHIPSETS, upper=True),
|
||||
cv.Required(CONF_PIN): pins.output_pin,
|
||||
}), validate)
|
||||
|
||||
Reference in New Issue
Block a user