Fix power status of devices on index when page loads