please use code fences next time!!
I put all into it, now it’s readable:
.sitemap
sitemap home label=“My home automation” {
Frame label=“Date” {
Text item=Date
}
Frame label=“Weather in Lombard” {
Text item=Temperature icon=“Temperature” valuecolor=[>25=“red”,>15=“green”,>5=“orange”,<5=“blue”] label=“Temperature [%.2f °C]”
Text item=Humidity icon=“rain”
Text item=Pressure icon=“sun_clouds”
}
//Webview url="/weather?locationId=home&layout=example&iconset=colorful" height=7
Frame label=“Demo” {
Switch item=Lights icon=“light”
Text item=LR_Temperature label=“Livingroom [%.1f °C]”
Group item=Heating
Text item=LR_Multimedia_Summary label=“Multimedia [%s]” icon=“video” {
Selection item=LR_TV_Channel mappings=[0=“off”, 1=“DasErste”, 2=“BBC One”, 3=“Cartoon Network”]
Slider item=LR_TV_Volume
}
Frame label=“Hue”{
// Bulb1
Switch item= Light1_Toggle
Slider item= Light1_Dimmer
Colorpicker item= Light1_Color
Slider item= Light1_ColorTemp
Switch item= Light1_Alert mappings=[NONE=“None”, SELECT=“Alert”, LSELECT=“Long Alert”]
Switch item= Light1_Effect
// Bulb2
Switch item= Light2_Toggle
Slider item= Light2_Dimmer
Slider item= Light2_ColorTemp
}
}}
.items:
Number Temperature “Temperature [%.2f °C]” {weather=“locationId=home, type=temperature, property=current”}
Number Humidity “Humidity [%d %%]” {weather=“locationId=home, type=atmosphere, property=humidity”}
// atmosphere
Number Humidity “Humidity [%d %%]” {weather=“locationId=home, type=atmosphere, property=humidity”}
Number Visibility “Visibility [%.2f km]” {weather=“locationId=home, type=atmosphere, property=visibility”}
Number Visibility_Mph “Visibility [%.2f mi]” {weather=“locationId=home, type=atmosphere, property=visibility, unit=mph”}
Number Pressure “Pressure [%.2f mb]” {weather=“locationId=home, type=atmosphere, property=pressure”}
Number Pressure_Inches “Pressure [%.2f in]” {weather=“locationId=home, type=atmosphere, property=pressure, unit=inches”}
String Pressure_Trend “Pressuretrend [%s]” {weather=“locationId=home, type=atmosphere, property=pressureTrend”}
Number Ozone “Ozone [%d ppm]” {weather=“locationId=home, type=atmosphere, property=ozone”}
Number UV_Index “UV Index” {weather=“locationId=home, type=atmosphere, property=uvIndex, scale=0”}
.
.
Are you sure that all was running before you ONLY changed services\weather.cfg from yahoo to ForecastIo?
in .items file this entry is doubled:
Number Humidity “Humidity [%d %%]” {weather=“locationId=home, type=atmosphere, property=humidity”}