mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +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:
		| @@ -19,13 +19,13 @@ RGB_ORDERS = [ | ||||
| ] | ||||
|  | ||||
| BASE_SCHEMA = light.ADDRESSABLE_LIGHT_SCHEMA.extend({ | ||||
|     cv.GenerateID(CONF_OUTPUT_ID): cv.declare_variable_id(FastLEDLightOutput), | ||||
|     cv.GenerateID(CONF_OUTPUT_ID): cv.declare_id(FastLEDLightOutput), | ||||
|  | ||||
|     cv.Required(CONF_NUM_LEDS): cv.positive_not_null_int, | ||||
|     cv.Optional(CONF_RGB_ORDER): cv.one_of(*RGB_ORDERS, upper=True), | ||||
|     cv.Optional(CONF_MAX_REFRESH_RATE): cv.positive_time_period_microseconds, | ||||
|  | ||||
|     cv.Optional(CONF_POWER_SUPPLY): cv.use_variable_id(power_supply.PowerSupply), | ||||
|     cv.Optional(CONF_POWER_SUPPLY): cv.use_id(power_supply.PowerSupply), | ||||
| }).extend(cv.COMPONENT_SCHEMA) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user