Samsung bets on smart homes to revive growth