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:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user