From e90829eef299f0d1126f21fbc39dc981887eb706 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Mon, 8 Apr 2019 22:27:47 +0200 Subject: [PATCH] Lint --- esphome/components/time/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/time/__init__.py b/esphome/components/time/__init__.py index 30b1e91a8c..76e6e06faf 100644 --- a/esphome/components/time/__init__.py +++ b/esphome/components/time/__init__.py @@ -256,7 +256,7 @@ def validate_cron_keys(value): value = {x: value[x] for x in value if x != CONF_CRON} value.update(cron_) return value - elif CONF_AT in value: + if CONF_AT in value: for key in value.keys(): if key in CRON_KEYS: raise vol.Invalid("Cannot use option {} when at: is specified.".format(key))