Refactored SmartHome to fix both wrapped and unwrapped line handling