diff --git a/homeassistant/components/automation/time.py b/homeassistant/components/automation/time.py index f28e95c6f7a..761ad73b826 100644 --- a/homeassistant/components/automation/time.py +++ b/homeassistant/components/automation/time.py @@ -24,7 +24,7 @@ _LOGGER = logging.getLogger(__name__) def trigger(hass, config, action): """Listen for state changes based on configuration.""" if CONF_AFTER in config: - after = dt_util.parse_time_str(config[CONF_AFTER]) + after = dt_util.parse_time(config[CONF_AFTER]) if after is None: _error_time(config[CONF_AFTER], CONF_AFTER) return False @@ -62,13 +62,13 @@ def if_action(hass, config): return None if before is not None: - before = dt_util.parse_time_str(before) + before = dt_util.parse_time(before) if before is None: _error_time(before, CONF_BEFORE) return None if after is not None: - after = dt_util.parse_time_str(after) + after = dt_util.parse_time(after) if after is None: _error_time(after, CONF_AFTER) return None diff --git a/homeassistant/components/binary_sensor/vera.py b/homeassistant/components/binary_sensor/vera.py index 3f92503dcbf..27d604805dc 100644 --- a/homeassistant/components/binary_sensor/vera.py +++ b/homeassistant/components/binary_sensor/vera.py @@ -49,8 +49,7 @@ class VeraBinarySensor(VeraDevice, BinarySensorDevice): last_tripped = self.vera_device.last_trip if last_tripped is not None: utc_time = dt_util.utc_from_timestamp(int(last_tripped)) - attr[ATTR_LAST_TRIP_TIME] = dt_util.datetime_to_str( - utc_time) + attr[ATTR_LAST_TRIP_TIME] = utc_time.isoformat() else: attr[ATTR_LAST_TRIP_TIME] = None tripped = self.vera_device.is_tripped diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py index 6fa998f9002..f6073979733 100644 --- a/homeassistant/components/frontend/version.py +++ b/homeassistant/components/frontend/version.py @@ -1,2 +1,2 @@ """DO NOT MODIFY. Auto-generated by build_frontend script.""" -VERSION = "91191cb375be56ce689a38edc782875f" +VERSION = "b9460e6bbf5549236815d94f1c1c98b9" diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html index 14fd6ed8f73..0c9551d8d7c 100644 --- a/homeassistant/components/frontend/www_static/frontend.html +++ b/homeassistant/components/frontend/www_static/frontend.html @@ -3206,7 +3206,7 @@ e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceE color: var(--disabled-text-color); @apply(--paper-dropdown-menu-icon); - }