Smart home automation is the key to demand flexibility