HABPanel show item of type icon


(Tobus) #1

Hello,
from the OpenWeatherBinding I have some items of type icon of the current and forecast weather condition.
How can I implement/show these icons at my HABPanel?

eg:

OpenWeatherMapWeatherAndForecast_ForecastTomorrow_Icon

This does not work:

<widget-icon icon="'OpenWeatherMapWeatherAndForecast_ForecastTomorrow_Icon'" />

Thanks a lot
Tobias


(Tobus) #2

That should work

<img ng-src="{{itemValue('OpenWeatherMapWeatherAndForecastFilderstadt_ForecastTomorrow_Icon')}}"></img>