Replacing images in sensor

Hi everyone.

I have weather state sensor, which displays an icon according to weather state report. But there is one problem - it reports same state for day and night, and Sunny icon looks bit silly during the night time :slight_smile: Is there any change to replace an icon using the rules?