mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f1241af91d | ||
| 
						 | 
					7ae6777fd6 | ||
| 
						 | 
					a169d37557 | 
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "esphomeyaml-beta",
 | 
			
		||||
  "version": "1.9.1",
 | 
			
		||||
  "version": "1.9.2",
 | 
			
		||||
  "slug": "esphomeyaml-beta",
 | 
			
		||||
  "description": "Beta version of esphomeyaml HassIO add-on.",
 | 
			
		||||
  "url": "https://beta.esphomelib.com/esphomeyaml/index.html",
 | 
			
		||||
 
 | 
			
		||||
@@ -10,8 +10,7 @@ from esphomeyaml.const import CONF_ALPHA, CONF_BLUE, CONF_BRIGHTNESS, CONF_COLOR
 | 
			
		||||
    CONF_SPEED, CONF_STATE, CONF_TRANSITION_LENGTH, CONF_UPDATE_INTERVAL, CONF_WHITE, CONF_WIDTH
 | 
			
		||||
from esphomeyaml.helpers import Action, Application, ArrayInitializer, Component, Nameable, \
 | 
			
		||||
    Pvariable, StructInitializer, TemplateArguments, add, add_job, esphomelib_ns, float_, \
 | 
			
		||||
    get_variable, process_lambda, setup_mqtt_component, std_string, templatable, uint32, \
 | 
			
		||||
    RawExpression
 | 
			
		||||
    get_variable, process_lambda, setup_mqtt_component, std_string, templatable, uint32
 | 
			
		||||
 | 
			
		||||
PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA.extend({
 | 
			
		||||
 | 
			
		||||
@@ -23,6 +22,7 @@ LightState = light_ns.class_('LightState', Nameable, Component)
 | 
			
		||||
MakeLight = Application.struct('MakeLight')
 | 
			
		||||
LightOutput = light_ns.class_('LightOutput')
 | 
			
		||||
FastLEDLightOutputComponent = light_ns.class_('FastLEDLightOutputComponent', LightOutput)
 | 
			
		||||
FastLEDLightOutputComponentRef = FastLEDLightOutputComponent.operator('ref')
 | 
			
		||||
 | 
			
		||||
# Actions
 | 
			
		||||
ToggleAction = light_ns.class_('ToggleAction', Action)
 | 
			
		||||
@@ -247,8 +247,7 @@ def build_effect(full_config):
 | 
			
		||||
            add(effect.set_intensity(config[CONF_INTENSITY]))
 | 
			
		||||
        yield effect
 | 
			
		||||
    elif key == CONF_FASTLED_LAMBDA:
 | 
			
		||||
        lambda_ = None
 | 
			
		||||
        args = [(RawExpression('FastLEDLightOutputComponent &'), 'it')]
 | 
			
		||||
        args = [(FastLEDLightOutputComponentRef, 'it')]
 | 
			
		||||
        for lambda_ in process_lambda(config[CONF_LAMBDA], args):
 | 
			
		||||
            yield None
 | 
			
		||||
        yield FastLEDLambdaLightEffect.new(config[CONF_NAME], lambda_, config[CONF_UPDATE_INTERVAL])
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "esphomeyaml",
 | 
			
		||||
  "version": "1.9.1",
 | 
			
		||||
  "version": "1.9.2",
 | 
			
		||||
  "slug": "esphomeyaml",
 | 
			
		||||
  "description": "esphomeyaml HassIO add-on for intelligently managing all your ESP8266/ESP32 devices.",
 | 
			
		||||
  "url": "https://esphomelib.com/esphomeyaml/index.html",
 | 
			
		||||
 
 | 
			
		||||
@@ -2,10 +2,10 @@
 | 
			
		||||
 | 
			
		||||
MAJOR_VERSION = 1
 | 
			
		||||
MINOR_VERSION = 9
 | 
			
		||||
PATCH_VERSION = '1'
 | 
			
		||||
PATCH_VERSION = '2'
 | 
			
		||||
__short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
 | 
			
		||||
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
 | 
			
		||||
ESPHOMELIB_VERSION = '1.9.1'
 | 
			
		||||
ESPHOMELIB_VERSION = '1.9.2'
 | 
			
		||||
 | 
			
		||||
ESP_PLATFORM_ESP32 = 'ESP32'
 | 
			
		||||
ESP_PLATFORM_ESP8266 = 'ESP8266'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user