Because wiring everything up to a global network always sounds like a smashing idea.
White hat hackers have made the first proof of concept for malware that locks a smart thermostat and demands a ransom.
Source: Hackers Make the First-Ever Ransomware for Smart Thermostats | Motherboard