Text this: Balancing energy consumption and thermal comfort in buildings