Several devices show icon-state ON when off and opposite

Hi all,

My first post here as I just started using HA :slight_smile:

After setting up HA and got all my devices/sensors/switches in HA, I suddenly realize that several devices show opposite icon-status of the real state, like the icon show state ON while it is actually off, and when I turn it on, icon will show it as off.

This is the case for all Telldus devices and an Innr smart plug connected through Hue.
All other Hue devices are correct.

Is there an easy way to fix this ?

EDIT: Solved! It was actually the theme I used that caused this!