1
mirror of https://github.com/home-assistant/core synced 2024-09-28 03:04:04 +02:00
ha-core/tests/fixtures/yahooweather.json
2022-03-30 11:12:58 +02:00

150 lines
4.7 KiB
JSON

{
"query": {
"count": 1,
"created": "2017-11-17T13:40:47Z",
"lang": "en-US",
"results": {
"channel": {
"units": {
"distance": "km",
"pressure": "mb",
"speed": "km/h",
"temperature": "C"
},
"title": "Yahoo! Weather - San Diego, CA, US",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-23511632/",
"description": "Yahoo! Weather for San Diego, CA, US",
"language": "en-us",
"lastBuildDate": "Fri, 17 Nov 2017 05:40 AM PST",
"ttl": "60",
"location": {
"city": "San Diego",
"country": "United States",
"region": " CA"
},
"wind": {
"chill": "56",
"direction": "0",
"speed": "6.34"
},
"atmosphere": {
"humidity": "71",
"pressure": "33863.75",
"rising": "0",
"visibility": "22.91"
},
"astronomy": {
"sunrise": "6:21 am",
"sunset": "4:47 pm"
},
"image": {
"title": "Yahoo! Weather",
"width": "142",
"height": "18",
"link": "http://weather.yahoo.com",
"url": "http://l.yimg.com/a/i/brand/purplelogo//uh/us/news-wea.gif"
},
"item": {
"title": "Conditions for San Diego, CA, US at 05:00 AM PST",
"lat": "32.878101",
"long": "-117.23497",
"link": "http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-23511632/",
"pubDate": "Fri, 17 Nov 2017 05:00 AM PST",
"condition": {
"code": "26",
"date": "Fri, 17 Nov 2017 05:00 AM PST",
"temp": "18",
"text": "Cloudy"
},
"forecast": [
{
"code": "28",
"date": "17 Nov 2017",
"day": "Fri",
"high": "23",
"low": "16",
"text": "Mostly Cloudy"
},
{
"code": "30",
"date": "18 Nov 2017",
"day": "Sat",
"high": "22",
"low": "13",
"text": "Partly Cloudy"
},
{
"code": "30",
"date": "19 Nov 2017",
"day": "Sun",
"high": "22",
"low": "12",
"text": "Partly Cloudy"
},
{
"code": "28",
"date": "20 Nov 2017",
"day": "Mon",
"high": "21",
"low": "11",
"text": "Mostly Cloudy"
},
{
"code": "28",
"date": "21 Nov 2017",
"day": "Tue",
"high": "24",
"low": "14",
"text": "Mostly Cloudy"
},
{
"code": "30",
"date": "22 Nov 2017",
"day": "Wed",
"high": "27",
"low": "15",
"text": "Partly Cloudy"
},
{
"code": "34",
"date": "23 Nov 2017",
"day": "Thu",
"high": "27",
"low": "15",
"text": "Mostly Sunny"
},
{
"code": "30",
"date": "24 Nov 2017",
"day": "Fri",
"high": "23",
"low": "16",
"text": "Partly Cloudy"
},
{
"code": "30",
"date": "25 Nov 2017",
"day": "Sat",
"high": "22",
"low": "15",
"text": "Partly Cloudy"
},
{
"code": "28",
"date": "26 Nov 2017",
"day": "Sun",
"high": "24",
"low": "13",
"text": "Mostly Cloudy"
}
],
"description": "<![CDATA[<img src=\"http://l.yimg.com/a/i/us/we/52/26.gif\"/>\n<BR />\n<b>Current Conditions:</b>\n<BR />Cloudy\n<BR />\n<BR />\n<b>Forecast:</b>\n<BR /> Fri - Mostly Cloudy. High: 23Low: 16\n<BR /> Sat - Partly Cloudy. High: 22Low: 13\n<BR /> Sun - Partly Cloudy. High: 22Low: 12\n<BR /> Mon - Mostly Cloudy. High: 21Low: 11\n<BR /> Tue - Mostly Cloudy. High: 24Low: 14\n<BR />\n<BR />\n<a href=\"http://us.rd.yahoo.com/dailynews/rss/weather/Country__Country/*https://weather.yahoo.com/country/state/city-23511632/\">Full Forecast at Yahoo! Weather</a>\n<BR />\n<BR />\n<BR />\n]]>",
"guid": {
"isPermaLink": "false"
}
}
}
}
}
}