- [[localize('attribute.weather.wind_speed')]]:
-
- [[attr.wind_speed]]
-
-
[[windBearing]]
+
+
+
+
+
+ [[getTemperature(stateObj.attributes.temperature)]]
+
+
+
+ [[localize('ui.card.weather.attributes.humidity')]]:
+ [[stateObj.attributes.humidity]] %
-
- [[localize('attribute.weather.humidity')]]: [[attr.humidity]]%
-
-
- [[localize('attribute.weather.visibility')]]: [[attr.visibility]]
+
+
+ [[localize('ui.card.weather.attributes.visibility')]]:
+ [[getVisibilty(stateObj.attributes.visibility)]]
+
+
+
+ [[localize('ui.card.weather.attributes.wind_speed')]]:
+ [[getWind(stateObj.attributes.wind_speed, stateObj.attributes.wind_bearing, localize)]]
-
-
+
[[computeState(stateObj.state, localize)]]
+
+
+
+
+
[[computeDateTime(item.datetime)]]
+
+
+
+
+
+
[[item.temperature]]°
+
+ [[item.templow]]°
+
+
+
+
+
diff --git a/src/dialogs/more-info/controls/more-info-content.html b/src/dialogs/more-info/controls/more-info-content.html
index f2e3b03c59..9bde82a074 100644
--- a/src/dialogs/more-info/controls/more-info-content.html
+++ b/src/dialogs/more-info/controls/more-info-content.html
@@ -18,6 +18,7 @@
+
diff --git a/src/translations/en.json b/src/translations/en.json
index 3c23cb1923..f7797ad539 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -1,11 +1,4 @@
{
- "attribute": {
- "weather": {
- "humidity": "Humidity",
- "visibility": "Visibility",
- "wind_speed": "Wind speed"
- }
- },
"domain": {
"alarm_control_panel": "Alarm control panel",
"automation": "Automation",
@@ -269,6 +262,22 @@
"off": "[%key:state::default::off%]",
"on": "[%key:state::default::on%]"
},
+ "weather": {
+ "clear_night": "Clear, night",
+ "cloudy": "Cloudy",
+ "fog": "Fog",
+ "hail": "Hail",
+ "lightning": "Lightning",
+ "lightning_rainy": "Lightning, rainy",
+ "partlycloudy": "Partly cloudy",
+ "pouring": "Pouring",
+ "rainy": "Rainy",
+ "snowy": "Snowy",
+ "snowy_rainy": "Snowy, rainy",
+ "sunny": "Sunny",
+ "windy": "Windy",
+ "windy_variant": "Windy"
+ },
"zwave": {
"default": {
"initializing": "Initializing",
@@ -317,6 +326,34 @@
},
"script": {
"execute": "Execute"
+ },
+ "weather": {
+ "attributes": {
+ "air_pressure": "Air pressure",
+ "humidity": "Humidity",
+ "temperature": "Temperature",
+ "visibility": "Visibility",
+ "wind_speed": "Wind speed"
+ },
+ "cardinal_direction": {
+ "e": "E",
+ "ene": "ENE",
+ "ese": "ESE",
+ "n": "N",
+ "ne": "NE",
+ "nne": "NNE",
+ "nw": "NW",
+ "nnw": "NNW",
+ "s": "S",
+ "se": "SE",
+ "sse": "SSE",
+ "ssw": "SSW",
+ "sw": "SW",
+ "w": "W",
+ "wnw": "WNW",
+ "wsw": "WSW"
+ },
+ "forecast": "Forecast"
}
},
"common": {