1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-21 20:52:20 +01:00

Bump version to 1.2.1

This commit is contained in:
Otto Winter
2018-04-07 12:01:50 +02:00
parent 982e9c1051
commit d5b4971d81
7 changed files with 15 additions and 10 deletions

View File

@@ -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