mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Bump version to 1.2.1
This commit is contained in:
		| @@ -22,6 +22,8 @@ def validate_broker(value): | ||||
|                           u" Please specify the static IP instead.") | ||||
|     if u':' in value: | ||||
|         raise vol.Invalid(u"Please specify the port using the port: option") | ||||
|     if not value: | ||||
|         raise vol.Invalid(u"Broker cannot be empty") | ||||
|     return value | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -18,7 +18,7 @@ from esphomeyaml.helpers import App, add, add_task, color | ||||
|  | ||||
| _LOGGER = logging.getLogger(__name__) | ||||
|  | ||||
| DEFAULT_LIBRARY_URI = u'esphomelib' | ||||
| DEFAULT_LIBRARY_URI = u'https://github.com/OttoWinter/esphomelib.git#v1.2.1' | ||||
|  | ||||
| CORE_SCHEMA = vol.Schema({ | ||||
|     vol.Required(CONF_NAME): cv.valid_name, | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| """Constants used by esphomeyaml.""" | ||||
|  | ||||
| MAJOR_VERSION = 0 | ||||
| MINOR_VERSION = 1 | ||||
| PATCH_VERSION = '0' | ||||
| MAJOR_VERSION = 1 | ||||
| MINOR_VERSION = 2 | ||||
| PATCH_VERSION = '1' | ||||
| __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) | ||||
| __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) | ||||
|  | ||||
|   | ||||
| @@ -267,7 +267,7 @@ def wizard(path): | ||||
|                                 mqtt_username=mqtt_username, mqtt_password=mqtt_password) | ||||
|  | ||||
|     if ota_password: | ||||
|         config += "ota:\n  password: '{}'".format(ota_password) | ||||
|         config += "ota:\n  password: '{}'\n".format(ota_password) | ||||
|     else: | ||||
|         config += "ota:\n" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user