Try Smart Home Lab free in your browser, with nothing to install and no account. Program a house that reacts to the people in it, with Blocks or Python. A family comes home after dark and feels for the hallway switch; a motion sensor and one rule light the way. Then the rules get smarter: lights that go out by themselves without leaving someone reading in the dark, lights that come on only after sunset, all scored against the same house with no rules in switches pressed, lights left on and cents on the bill.