I got an early glimpse of Apple’s biggest push into the smart home in years.