Modern dwellings are increasingly incorporating advanced home automation systems powered by the Internet of Things (IoT) to achieve enhanced energy efficiency. These systems employ a network of interconnected sensors that observe energy usage in real time. By analyzing this data, the system can proactively modify various systems to optimize energy