How can we tackle energy efficiency in IoT based smart buildings?

How can we tackle energy efficiency in IoT based smart buildings?