From 9b3448d44c72053a28c79ac1468b22fea4f476c8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 6 Dec 2017 08:54:53 +0200 Subject: [PATCH] Make full path check before using google.visualization (#716) * Make full path check before using visualization * Missing check --- src/cards/ha-weather-card.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cards/ha-weather-card.html b/src/cards/ha-weather-card.html index b494e1e1a7..b636473be8 100644 --- a/src/cards/ha-weather-card.html +++ b/src/cards/ha-weather-card.html @@ -48,7 +48,7 @@
[[attr.temperature]]°
- Wind: + Wind: [[attr.wind_speed]] @@ -144,7 +144,7 @@ this.nowCond = _WEATHER_TO_ICON[this.stateObj.state]; this.windBearing = this.windBearingToText(this.attr.wind_bearing); - if (!window.google) { + if (!window.google || !window.google.visualization) { return; }